summaryrefslogblamecommitdiffstats
path: root/.bin/dwm-start
blob: b42252a9c8aec3f0fe3e6ed3439db18e41ddcf61 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13

         










                                            





                                 


                                             






                           
#!/bin/sh

__xidle() {
	kill -9 xidle
	xidle &
}

__xsuspender() {
	pkill -9 xsuspender
	nohup xsuspender >/dev/null & disown
}

command -v xidle && __xidle

while true; do
	# status
	pkill -9 -f "ag-status"
	ag-status -l >/dev/null &

	# xsuspender
	command -v xsuspender && __xsuspender

	# x11 configuration
	x11-config
	. ~/.bin/x11-screen

	# dwm
	dwm 2> ~/.dwm.log
done
remember that computers suck.