blob: e44791544cbe0ac1fd1c4709a0afaba72ddfc280 (
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
$HOME/Software/slstatus/slstatus &
while true; do
$HOME/Software/dwm/dwm >> /tmp/dwmsession.log
sleep 1
done
|