startup/shutdown improvs

pull/40/head
TomasM 2017-11-09 02:45:10 -05:00
parent cc8d4c7d4f
commit 2d82b0233a
4 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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