aboutsummaryrefslogtreecommitdiffstats
path: root/x11/.xsession
blob: 70efe314f66a9cca82ae79b5d8acf73cc92fdd4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env sh

# shellcheck source=../lib/usr/lib/sh/loading.sh
. ~/usr/lib/sh/loading.sh

xrdb -cpp m4 -merge "${HOME}/.config/X11/Xresources" \
    -I"${HOME}/.config/X11/Xresources.d"

load_machine_config ".config/X11/machines"
load_config_directory ".config/X11/Xsession.d"

command -v kdeconnect-indicator \
    && (pgrep kdeconnect-indicator \
        || { kdeconnect-indicator & })

command -v syncthing-gtk \
    && (pgrep syncthing-gtk \
        || { syncthing-gtk & })

command -v unclutter && (pgrep unclutter || unclutter --fork)