summaryrefslogtreecommitdiff
path: root/dwm-launch.sh
blob: 62e4ebaed659a961e9ee169152bd9ad1b25d0494 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

compton -cCGb 
feh --bg-fill /var/wallpaper
xrdb ~/.Xresources
xautolock -locker ~/source/scripts/slock-fortune.sh &
~/source/scripts/dwm-status.sh &

logfile="/var/log/dwm.log"

while true; do

	if [ -O $logfile ]; then
		dwm 2> $logfile
	else
		dwm 2>&1 > /dev/null
	fi

done