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
@@ -7,6 +7,8 @@ exec xlunch --input /etc/xlunch/entries.dsv \
--highlight /usr/share/icons/hicolor/128x128/apps/xlunch_highlight.png \
--outputonly | while read LINE; do
fbstartupnotify
cmd="$(echo $LINE | sed -r "s/\\s.*//")"
whi="$(which $cmd | head -n 1)"
Xdep=$(ldd $whi | grep libX11)