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
@@ -10,12 +10,16 @@ xmodmap "/root/.Xmodmap"
# merge xresource settings
xrdb -merge ~/.Xresources
# set background color
xsetroot -solid '#000000' -cursor_name watch
# set background color and big wait mouse cursor
xsetroot -solid '#000000'
xsetroot -xcf /usr/share/icons/breeze_cursors/cursors/watch 37
# preload compton and fluxbox to cache
(compton --help; fluxbox --help) >/dev/null 2>/dev/null
# preload wallpaper
cat /usr/share/wallpapers/wp.jpg > /dev/null 2>/dev/null
# Keep black screen for first two seconds while the sound plays.
# This slows startup by 2 seconds, but it is nice effect.
SND=/usr/share/sounds/startup.wav