startup/shutdown sounds support

This commit is contained in:
TomasM
2017-11-07 08:41:49 -05:00
parent 52bb737ff9
commit 83918bf463
3 changed files with 33 additions and 2 deletions
@@ -13,6 +13,16 @@ xrdb -merge ~/.Xresources
# set background color
xsetroot -solid '#000000' -cursor_name watch
# this is a bit tricky
SND=/usr/share/sounds/startup.wav
if [ -r $SND ]; then
sleep 1 &
SLEEPID=$!
cat $SND > /dev/null # preload whole file
aplay $SND &
waitpid $SLEEPID
fi
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#