startup/shutdown sounds support
This commit is contained in:
@@ -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.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user