reorganize fluxbox startup once more again
parent
4249a32039
commit
3cea731b77
|
|
@ -14,14 +14,14 @@ xrdb -merge ~/.Xresources
|
|||
xsetroot -solid '#111111'
|
||||
xsetroot -xcf /usr/share/icons/breeze_cursors/cursors/watch 37
|
||||
|
||||
# volume icon in system tray. Can fail if no soundcard is detected
|
||||
volumeicon &
|
||||
|
||||
# preload compton and fluxbox to cache
|
||||
(compton --help; fluxbox --help) >/dev/null 2>/dev/null
|
||||
(compton --help; fluxbox --help) >/dev/null 2>&1
|
||||
|
||||
# preload wallpaper
|
||||
cat /usr/share/wallpapers/slax_wallpaper.jpg > /dev/null 2>/dev/null
|
||||
|
||||
# Keep black screen for first two seconds while the sound plays.
|
||||
# This slows startup by 2 seconds, but it is nice effect.
|
||||
# Keep black screen for first second while the sound plays.
|
||||
# This slows startup a little, but it is nicer effect.
|
||||
SND=/usr/share/sounds/startup.wav
|
||||
if [ -r $SND ]; then
|
||||
cat $SND > /dev/null # preload
|
||||
|
|
@ -30,14 +30,6 @@ if [ -r $SND ]; then
|
|||
SOUNDPID=$!
|
||||
fi
|
||||
|
||||
# Applications you want to run with fluxbox.
|
||||
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
|
||||
#
|
||||
# unclutter -idle 2 &
|
||||
# wmnd &
|
||||
# wmsmixer -w &
|
||||
# idesk &
|
||||
#
|
||||
# Debian-local change:
|
||||
# - fbautostart has been added with a quick hack to check to see if it
|
||||
# exists. If it does, we'll start it up by default.
|
||||
|
|
@ -58,13 +50,9 @@ rm -f $SIGNALFILE
|
|||
sleep 0.1
|
||||
done
|
||||
compton --sw-opti -e 0.9 --fade-exclude 'role*="fluxbox-toolbar"' --opacity-rule '70:role*="fluxbox-toolbar"' --no-fading-destroyed-argb -D 5 -c -f -l -2 -t -2 -r 0 -o 1 -z --shadow-exclude 'bounding_shaped' &
|
||||
) &
|
||||
|
||||
# We want to run systrayicon only after the volumeicon is started
|
||||
# So we have to wait until it is visible to xwinfo
|
||||
(
|
||||
# volume icon in system tray. Can fail if no soundcard is detected
|
||||
volumeicon &
|
||||
while ! xwininfo -name volumeicon >/dev/null 2>&1 && pgrep volumeicon >/dev/null 2>&1; do
|
||||
sleep 0.1
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in New Issue