startup/shutdown sounds
This commit is contained in:
@@ -16,11 +16,7 @@ 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 &
|
||||
wait $SLEEPID
|
||||
fi
|
||||
|
||||
# Applications you want to run with fluxbox.
|
||||
|
||||
@@ -10,9 +10,8 @@ exec xlunch --input /etc/xlunch/logout.dsv --noprompt \
|
||||
SND=/usr/share/sounds/shutdown.wav
|
||||
|
||||
if [ "$LINE" != "" -a -r $SND ]; then
|
||||
cat $SND > /dev/null # precache
|
||||
aplay $SND &
|
||||
sleep 2
|
||||
sleep 1
|
||||
fi
|
||||
|
||||
if [ "$LINE" = "logout" ]; then
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user