summaryrefslogtreecommitdiffstats
path: root/.config/x11/xinitrc
blob: 5af1c835ff468043fb70d8711dea69e63be61151 (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\!"
dbus-launch dwm