Differentiate between host-specific startup progs and profiles
[~bandali/configs] / .local / bin / startup-progs
1 #!/bin/sh
2
3 resources="$HOME/.Xresources $HOME/.Xresources.d/$(hostname)"
4 for res in $resources; do [ -f "$res" ] && xrdb -merge "$res"; done
5
6 if [ -f "$HOME/.local/bin/$(hostname)/startup" ]; then
7 . "$HOME/.local/bin/$(hostname)/startup"
8 fi
9
10 xsetroot -cursor_name left_ptr
11 xset r rate 200 45
12 xset b off
13
14 light -N 1
15
16 [ -x "$(command -v dunst)" ] && dunst &
17 [ -x "$(command -v nm-applet)" ] && nm-applet &
18 [ -x "$(command -v pasystray)" ] && pasystray -a &