summaryrefslogtreecommitdiffstats
path: root/.config/x11/xinitrc
blob: 611a5a33594c8b0da9aad06fa0519321ddda8306 (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 &
}

xset s off
"$HOME"/.local/bin/setwp
"$HOME"/.local/bin/kb
startif dunst
startif picom
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