summaryrefslogtreecommitdiffstats
path: root/.config/x11/xinitrc
blob: ab2ba081c19002c12588d41c5836e387e8d2f336 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# vim: filetype=sh

startif() {
	pgrep "$1" >/dev/null || "$@" >/dev/null 2>&1 &
}

"$HOME"/.local/bin/scrmain
"$HOME"/.local/bin/kb
startif dunst
startif compton
pgrep musicpd >/dev/null || musicpd >/dev/null 2>&1
startif mpd-notification
startif lowbat
notify-send -u low -t 2000 'emacs' '  Emacs daemonized'
cd "$HOME"
xrdb "$HOME"/.config/x11/xresources
notify-send -u normal 'Welcome' "  Welcome back, partner\!"
exec dwm