diff options
Diffstat (limited to 'dwm/Scripts/dwmsession')
-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 |