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

startif() {
	if ! pgrep "$1" >/dev/null; then
		bsdsetsid "$@" >/dev/null 2>&1
	fi
}

/home/jozan/.local/bin/scrmain
/home/jozan/.local/bin/kb
startif dunst
startif compton
startif musicpd
startif mpd-notification
startif lowbat
startif emacs --daemon
notify-send -u low -t 2000 'emacs' '  Emacs daemonized'
cd /home/jozan
xrdb /home/jozan/.config/x11/xresources
notify-send -u normal 'Welcome' "  Welcome back, partner\!"
exec dwm