startup/shutdown sounds
parent
e8783fe82d
commit
fd27c2c569
|
|
@ -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.
|
||||||
|
|
|
||||||
|
|
@ -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 |
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue