|
@ -36,7 +36,10 @@ xset -dpms |
|
|
volumeicon & |
|
|
volumeicon & |
|
|
|
|
|
|
|
|
# preload compton and fluxbox to cache |
|
|
# preload compton and fluxbox to cache |
|
|
(compton --help; fluxbox --help) >/dev/null 2>&1 |
|
|
( |
|
|
|
|
|
compton --help |
|
|
|
|
|
fluxbox --help |
|
|
|
|
|
) >/dev/null 2>&1 |
|
|
|
|
|
|
|
|
# Keep black screen for first second while the sound plays. |
|
|
# Keep black screen for first second while the sound plays. |
|
|
# This slows startup a little, but it is nicer effect. |
|
|
# This slows startup a little, but it is nicer effect. |
|
@ -73,9 +76,16 @@ rm -f $SIGNAL2 2>/dev/null |
|
|
done |
|
|
done |
|
|
touch $SIGNAL2 |
|
|
touch $SIGNAL2 |
|
|
|
|
|
|
|
|
(sleep 1; (echo; sleep 10; echo :quit) | xlunch --window --xposition 20 --yposition -30 \ |
|
|
( |
|
|
|
|
|
sleep 1 |
|
|
|
|
|
( |
|
|
|
|
|
echo |
|
|
|
|
|
sleep 10 |
|
|
|
|
|
echo :quit |
|
|
|
|
|
) | xlunch --window --xposition 20 --yposition -30 \ |
|
|
--width 195 --height 53 --noscroll --noprompt --backgroundcolor ffffff00 \ |
|
|
--width 195 --height 53 --noscroll --noprompt --backgroundcolor ffffff00 \ |
|
|
--multiple --desktop --button "/usr/share/fluxbox/styles/Slax/pixmaps/start-here.png;;0,0;fbappselect" & ) & |
|
|
--multiple --desktop --button "/usr/share/fluxbox/styles/Slax/pixmaps/start-here.png;;0,0;fbappselect" & |
|
|
|
|
|
) & |
|
|
|
|
|
|
|
|
exec compton --sw-opti -e 0.9 --shadow-exclude 'class_g="xlunch-windowed"' --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' |
|
|
exec compton --sw-opti -e 0.9 --shadow-exclude 'class_g="xlunch-windowed"' --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' |
|
|
) & |
|
|
) & |
|
@ -98,13 +108,17 @@ rm -f $SIGNAL2 2>/dev/null |
|
|
) & |
|
|
) & |
|
|
|
|
|
|
|
|
# gen screen resolutions to fluxbox menu |
|
|
# gen screen resolutions to fluxbox menu |
|
|
xrandr 2>/dev/null | fgrep x | fgrep . | sort -n | tr -s " " | cut -d " " -f 2 \ |
|
|
xrandr 2>/dev/null | fgrep x | fgrep . | sort -n | tr -s " " | cut -d " " -f 2 | |
|
|
| sed -r "s:(.*):[exec] (\\1) {fbscreensize \\1}:" > ~/.fluxbox/menu_resolution |
|
|
sed -r "s:(.*):[exec] (\\1) {fbscreensize \\1}:" >~/.fluxbox/menu_resolution |
|
|
|
|
|
|
|
|
# In all cases, wait for the sound sleeper. |
|
|
# In all cases, wait for the sound sleeper. |
|
|
# If startup took longer (sound completed already), no extra wait |
|
|
# If startup took longer (sound completed already), no extra wait |
|
|
wait $SOUNDPID |
|
|
wait $SOUNDPID |
|
|
|
|
|
|
|
|
|
|
|
if [ -f /usr/bin/nm-applet ]; then |
|
|
|
|
|
exec nm-applet & |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
# And last but not least we start fluxbox. |
|
|
# And last but not least we start fluxbox. |
|
|
# Because it is the last app you have to run it with ''exec'' before it. |
|
|
# Because it is the last app you have to run it with ''exec'' before it. |
|
|
|
|
|
|
|
|