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
# set background color and big wait mouse cursor
xsetroot -solid '#000000'
xsetroot -solid '#222222'
xsetroot -xcf /usr/share/icons/breeze_cursors/cursors/watch 37
# 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
if [ "$LINE" != "" -a -r $SND ]; then
feh --bg-scale /usr/share/icons/locolor/16x16/apps/black.png
xsetroot -xcf /usr/share/icons/breeze_cursors/cursors/watch 37
aplay $SND &
sleep 1
# blank desktop with smooth effect (if compton still running)
xlunch --noprompt --input /dev/null --bc 222222ff &
# play shutdown sound
aplay $SND
fi
if [ "$LINE" = "logout" ]; then

View File

@ -1,7 +1,7 @@
#!/bin/bash
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
xsetroot -xcf $CURSORSDIR/left_ptr_watch $SIZE