startup/shutdown sounds

pull/40/head
TomasM 2017-11-07 10:18:19 -05:00
parent e8783fe82d
commit fd27c2c569
5 changed files with 5 additions and 1 deletions

View File

@ -13,10 +13,12 @@ xrdb -merge ~/.Xresources
# set background color # set background color
xsetroot -solid '#000000' -cursor_name watch xsetroot -solid '#000000' -cursor_name watch
# this is a bit tricky # 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 SND=/usr/share/sounds/startup.wav
if [ -r $SND ]; then if [ -r $SND ]; then
aplay $SND & aplay $SND &
sleep 2
fi fi
# Applications you want to run with fluxbox. # Applications you want to run with fluxbox.

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B