From 0e9840e0b734217ff5e5621a1e27553ebabc43fb Mon Sep 17 00:00:00 2001 From: Julian T Date: Fri, 22 Sep 2023 22:16:55 +0200 Subject: Dwm and other window managers --- dwm/Scripts/dwmsession | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'dwm/Scripts/dwmsession') 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 -- cgit v1.2.3