summaryrefslogtreecommitdiff
path: root/.config/autostart/autostart.sh
blob: 7ebbef4f0478cb01894b840cb67b4948f05e250b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

HOSTNAME=$(hostname)

function start_picom() {
    pgrep -x picom > /dev/null || picom
}

function set_wallpaper() {
    /home/$USER/.fehbg
}

function get_started() {
    start_picom &
    set_wallpaper &
    syncthing --no-browser &
    transmission-daemon &
    setxkbmap us -option ctrl:swapcaps
}

get_started