From b3970e6695d30f87e9e982103f5fcf8ca60ce71e Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Mon, 5 May 2014 22:56:05 +0200 Subject: Updates to panel - added charging - added better cross color support --- .config/herbstluftwm/autostart | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to '.config/herbstluftwm/autostart') diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index 500eabf..51dcd9d 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -3,7 +3,7 @@ # this is a simple config for herbstluftwm #Wallpaper -WALLPAPER=/usr/share/backgrounds/gnome/Road.jpg +WALLPAPER=/home/tom/Pictures/ThDLxEW.jpg #Numix color palette LIGHT='#f9f9f9' @@ -12,6 +12,9 @@ ACCENT='#d64937' LDARK='#333333' DARK='#2d2d2d' +#Panel +PANEL_HEIGHT=24 + hc() { herbstclient "$@" } @@ -24,15 +27,13 @@ xsetroot -solid $ACCENT hc keyunbind --all # keybindings -# if you have a super key you will be much happier with Mod set to Mod4 -#Mod=Mod1 # Use alt as the main modifier Mod=Mod4 # Use the super key as the main modifier hc keybind $Mod-Shift-q quit hc keybind $Mod-Shift-r reload hc keybind $Mod-Shift-c close hc keybind $Mod-Return spawn xfce4-terminal -hc keybind ~ spawn xfce4-terminal --drop-down +hc keybind $Mod-grave spawn dmenu_run -h $PANEL_HEIGHT -p "Run:" -nb $DARK -nf $LIGHT -sb $ACCENT -sf $DARK # basic movement # focusing clients @@ -74,7 +75,7 @@ hc keybind $Mod-Control-Up resize up +$resizestep hc keybind $Mod-Control-Right resize right +$resizestep # tags -tag_names=( {1..9} ) +tag_names=( I II III IV V VI VII VIII IX X ) tag_keys=( {1..9} 0 ) # Selecting workspaces @@ -136,7 +137,7 @@ hc attr theme.inner_color $DARK hc attr theme.border_width 3 hc attr theme.floating.border_width 4 hc attr theme.floating.outer_width 1 -hc attr theme.floating.outer_color black +hc attr theme.floating.outer_color $DARk hc attr theme.active.inner_color $DARK hc attr theme.active.outer_color $DARK hc attr theme.background_color $DARK @@ -171,7 +172,8 @@ herbstclient set tree_style '╾│ ├└╼─┐' #Start panel in all monitors start_panel() { for monitor in $(herbstclient list_monitors | cut -d: -f1) ; do - "$1" $monitor & + "$1" $monitor $PANEL_HEIGHT $LIGHT $LLIGHT $ACCENT $LDARK $DARK + $2& done } -- cgit v1.2.3