diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2022-02-03 21:31:55 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2022-02-03 21:31:55 +0100 |
commit | 703ed1915c69911a95cab6e1fb6524629c976800 (patch) | |
tree | 1e4063eeace827aa557e910aa502ee173dd6e4ab /.bin/dwm-start | |
parent | d64d4a6a3924e144fe49b3d956320b37786a738a (diff) | |
download | dots-703ed1915c69911a95cab6e1fb6524629c976800.tar.gz |
Thu Feb 3 09:31:55 PM CET 2022
Diffstat (limited to '.bin/dwm-start')
-rwxr-xr-x | .bin/dwm-start | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/.bin/dwm-start b/.bin/dwm-start index e411db5..b42252a 100755 --- a/.bin/dwm-start +++ b/.bin/dwm-start @@ -1,13 +1,25 @@ #!/bin/sh -kill -9 xidle -xidle & +__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 |