workaround for startup notifications by detecting open windows

This commit is contained in:
TomasM committed 2017-11-08 18:17:06 -05:00
1 parent 5c6d5d810b
commit 1a4fab456c
4 files changed
+29 -2

No files matched your search

@@ -9,8 +9,10 @@ exec xlunch --input /etc/xlunch/logout.dsv --noprompt \
SND=/usr/share/sounds/shutdown.wav
# blackout desktop
feh --bg-scale /usr/share/icons/locolor/16x16/apps/black.png
# play logout song
if [ "$LINE" != "" -a -r $SND ]; then
aplay $SND &
sleep 1