summaryrefslogtreecommitdiffstats
path: root/.config/x11/xinitrc
blob: ee31ce5d3b722debfc74b07f78fffab5914ca2f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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
cd "$HOME"
xrdb "$HOME"/.config/x11/xresources
notify-send -u normal 'Welcome' "  Welcome back, partner\!"
dbus-launch dwm