startup/shutdown improvs
This commit is contained in:
@@ -11,7 +11,7 @@ xmodmap "/root/.Xmodmap"
|
|||||||
xrdb -merge ~/.Xresources
|
xrdb -merge ~/.Xresources
|
||||||
|
|
||||||
# set background color and big wait mouse cursor
|
# set background color and big wait mouse cursor
|
||||||
xsetroot -solid '#000000'
|
xsetroot -solid '#222222'
|
||||||
xsetroot -xcf /usr/share/icons/breeze_cursors/cursors/watch 37
|
xsetroot -xcf /usr/share/icons/breeze_cursors/cursors/watch 37
|
||||||
|
|
||||||
# preload compton and fluxbox to cache
|
# preload compton and fluxbox to cache
|
||||||
|
|||||||
@@ -10,10 +10,10 @@ exec xlunch --input /etc/xlunch/logout.dsv --noprompt \
|
|||||||
SND=/usr/share/sounds/shutdown.wav
|
SND=/usr/share/sounds/shutdown.wav
|
||||||
|
|
||||||
if [ "$LINE" != "" -a -r $SND ]; then
|
if [ "$LINE" != "" -a -r $SND ]; then
|
||||||
feh --bg-scale /usr/share/icons/locolor/16x16/apps/black.png
|
# blank desktop with smooth effect (if compton still running)
|
||||||
xsetroot -xcf /usr/share/icons/breeze_cursors/cursors/watch 37
|
xlunch --noprompt --input /dev/null --bc 222222ff &
|
||||||
aplay $SND &
|
# play shutdown sound
|
||||||
sleep 1
|
aplay $SND
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$LINE" = "logout" ]; then
|
if [ "$LINE" = "logout" ]; then
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
CURSORSDIR=/usr/share/icons/breeze_cursors/cursors/
|
CURSORSDIR=/usr/share/icons/breeze_cursors/cursors/
|
||||||
SIZE=20
|
SIZE=16
|
||||||
|
|
||||||
# Set cursor to wait. As soon as new window is detected, change cursor back
|
# Set cursor to wait. As soon as new window is detected, change cursor back
|
||||||
xsetroot -xcf $CURSORSDIR/left_ptr_watch $SIZE
|
xsetroot -xcf $CURSORSDIR/left_ptr_watch $SIZE
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user