fluxbox styling and autostart
parent
84ead7218f
commit
436e02aa49
|
|
@ -7,6 +7,12 @@
|
||||||
# Change your keymap:
|
# Change your keymap:
|
||||||
xmodmap "/root/.Xmodmap"
|
xmodmap "/root/.Xmodmap"
|
||||||
|
|
||||||
|
# merge xresource settings
|
||||||
|
xrdb -merge ~/.Xresources
|
||||||
|
|
||||||
|
# set background color
|
||||||
|
fbsetroot -solid '#000000'
|
||||||
|
|
||||||
# Applications you want to run with fluxbox.
|
# Applications you want to run with fluxbox.
|
||||||
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
|
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
|
||||||
#
|
#
|
||||||
|
|
@ -23,9 +29,28 @@ if [ $? -eq 0 ]; then
|
||||||
fbautostart
|
fbautostart
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Slax-local change:
|
||||||
|
# We need to postpone compton after fluxbox starts, else it won't set
|
||||||
|
# the transparency of toolbar properly... So we check the fehbg file,
|
||||||
|
# which is created by fluxbox at the phase when it sets background.
|
||||||
|
# Once the file exist, fluxbox-toolbar is already started
|
||||||
|
|
||||||
|
SIGNALFILE=~/.fehbg
|
||||||
|
|
||||||
|
# preload to cache
|
||||||
|
(compton --help; fluxbox --help) >/dev/null 2>/dev/null
|
||||||
|
|
||||||
|
rm -f $SIGNALFILE
|
||||||
|
|
||||||
|
(
|
||||||
|
while [ ! -e $SIGNALFILE ]; do
|
||||||
|
sleep 0.05
|
||||||
|
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'
|
||||||
|
) &
|
||||||
|
|
||||||
|
|
||||||
# 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.
|
||||||
|
|
||||||
exec fluxbox
|
exec fluxbox
|
||||||
# or if you want to keep a log:
|
|
||||||
# exec fluxbox -log "/root/.fluxbox/log"
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1 @@
|
||||||
xrdb -merge ~/.Xresources
|
|
||||||
compton --sw-opti -e 0.9 --opacity-rule '70:WM_WINDOW_ROLE@:s *?= "fluxbox-toolbar"' --no-fading-destroyed-argb -D 5 -c -f -l -2 -t -2 -r 0 -o 1 -z --shadow-exclude 'bounding_shaped' &
|
|
||||||
startfluxbox
|
startfluxbox
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
xlunch --background /usr/share/wallpapers/wp.jpg --voidclickterminate --iconpadding 30 --textpadding 15 --paddingswap --leastmargin 20 --hidemissing
|
exec xlunch --background /usr/share/wallpapers/wp.jpg --voidclickterminate --iconpadding 30 --textpadding 15 --paddingswap --leastmargin 20 --hidemissing
|
||||||
|
|
|
||||||
|
|
@ -57,32 +57,35 @@ window.maximize.pressed.pixmap: maxpr.png
|
||||||
toolbar.height: 18
|
toolbar.height: 18
|
||||||
toolbar.bevelWidth: 0
|
toolbar.bevelWidth: 0
|
||||||
toolbar.borderWidth: 3
|
toolbar.borderWidth: 3
|
||||||
toolbar.borderColor: #333333
|
toolbar.borderColor: #222222
|
||||||
toolbar: flat solid
|
toolbar: flat solid
|
||||||
|
|
||||||
toolbar.color: #333333
|
toolbar.color: #222222
|
||||||
toolbar.clock: flat solid
|
toolbar.clock: flat solid
|
||||||
toolbar.clock.color: #333333
|
toolbar.clock.color: #222222
|
||||||
toolbar.clock.textColor: white
|
toolbar.clock.textColor: white
|
||||||
|
|
||||||
toolbar.iconbar.empty: flat
|
toolbar.iconbar.empty: flat
|
||||||
toolbar.iconbar.empty.color: #333333
|
toolbar.iconbar.empty.color: #222222
|
||||||
|
|
||||||
toolbar.iconbar.focused.borderWidth: 0
|
toolbar.iconbar.focused.borderWidth: 15
|
||||||
|
toolbar.iconbar.focused.borderColor: #222222
|
||||||
toolbar.iconbar.focused: flat
|
toolbar.iconbar.focused: flat
|
||||||
toolbar.iconbar.focused.color: #666666
|
toolbar.iconbar.focused.color: #dddddd
|
||||||
toolbar.iconbar.focused.textColor: white
|
toolbar.iconbar.focused.textColor: #000000
|
||||||
toolbar.iconbar.focused.justify: left
|
toolbar.iconbar.focused.justify: left
|
||||||
|
|
||||||
toolbar.iconbar.unfocused.borderWidth: 0
|
toolbar.iconbar.unfocused.borderWidth: 15
|
||||||
|
toolbar.iconbar.unfocused.borderColor: #444444
|
||||||
toolbar.iconbar.unfocused: flat
|
toolbar.iconbar.unfocused: flat
|
||||||
toolbar.iconbar.unfocused.color: #333333
|
toolbar.iconbar.unfocused.color: #222222
|
||||||
toolbar.iconbar.unfocused.textColor: white
|
toolbar.iconbar.unfocused.textColor: white
|
||||||
toolbar.iconbar.unfocused.justify: left
|
toolbar.iconbar.unfocused.justify: left
|
||||||
|
|
||||||
toolbar.button: flat solid
|
toolbar.button: flat solid
|
||||||
toolbar.button.borderWidth: 3
|
toolbar.button.borderWidth: 13
|
||||||
toolbar.button.color: #333333
|
toolbar.button.borderColor: #222222
|
||||||
|
toolbar.button.color: #222222
|
||||||
toolbar.button.picColor: #61CA00
|
toolbar.button.picColor: #61CA00
|
||||||
toolbar.button.pressed: flat solid
|
toolbar.button.pressed: flat solid
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue