blob: b4d33c3c4f655ec43e1c45acde7ac1d2f2f59133 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
!/bin/bash
PIDFILE=/home/julian/.dwmSession.pid
kill `cat $PIDFILE`
if [ "$1" = "-e" ]; then
exit
fi
echo $$ > $PIDFILE
for file in /home/julian/Scripts/enMenuScripts/*
do
sh $file &
done
while true; do
xsetroot -name "$(cat /tmp/dsb* | tr -d '\n')"
sleep 1
inotifywait -q -e modify /tmp/dsb*
done
|