summaryrefslogblamecommitdiffstats
path: root/.bin/dwm-start
blob: e2dcc005e1d66cbe1bebcd2a1a5c7d993b67fe3d (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
	ag-autorandr

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