diff options
author | Julian T <julian@jtle.dk> | 2023-09-22 22:16:55 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2023-09-23 12:17:43 +0200 |
commit | 0e9840e0b734217ff5e5621a1e27553ebabc43fb (patch) | |
tree | ebf42aae8bbde018f75cc7186b6913ae0f82de15 /dwm/Scripts | |
parent | 85080ac87cc5bc535308147f973e4e73a77c2a4e (diff) |
Dwm and other window managers
Diffstat (limited to 'dwm/Scripts')
-rwxr-xr-x | dwm/Scripts/dwmsession | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/dwm/Scripts/dwmsession b/dwm/Scripts/dwmsession index e447915..18eb584 100755 --- a/dwm/Scripts/dwmsession +++ b/dwm/Scripts/dwmsession @@ -1,17 +1,19 @@ #!/usr/bin/env bash PIDFILE=/var/run/user/$UID/dwm.pid -kill $(<$PIDFILE) if [ "$1" = "-e" ]; then + echo Killing $(<$PIDFILE) + kill $(<$PIDFILE) + killall xinit exit fi echo $$ > $PIDFILE -$HOME/Software/slstatus/slstatus & +~/resc/slstatus/slstatus & while true; do - $HOME/Software/dwm/dwm >> /tmp/dwmsession.log + $HOME/resc/dwm/dwm >> /tmp/dwmsession.log sleep 1 done |