blob: 5fde91a98c9bfd98e695707a69b07feca7c727d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/usr/bin/env bash
PIDFILE=/var/run/user/$UID/dwm.pid
kill $(<$PIDFILE)
if [ "$1" = "-e" ]; then
exit
fi
echo $$ > $PIDFILE
slstatus &
while true; do
dwm >> /tmp/dwmsession.log
sleep 1
done
|