workaround for startup notifications by detecting open windows

This commit is contained in:
TomasM
2017-11-08 18:17:06 -05:00
parent 5c6d5d810b
commit 1a4fab456c
4 changed files with 29 additions and 2 deletions
@@ -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