diff options
| author | 2014-05-05 22:56:05 +0200 | |
|---|---|---|
| committer | 2014-05-05 22:56:05 +0200 | |
| commit | b3970e6695d30f87e9e982103f5fcf8ca60ce71e (patch) | |
| tree | c81d5fda246e36e750626aa540555ae24db60538 /.config/herbstluftwm/autostart | |
| parent | 5ccd9443215ccfbec547e109ea28becabde711c1 (diff) | |
| download | dotfiles-b3970e6695d30f87e9e982103f5fcf8ca60ce71e.tar.gz dotfiles-b3970e6695d30f87e9e982103f5fcf8ca60ce71e.tar.bz2 dotfiles-b3970e6695d30f87e9e982103f5fcf8ca60ce71e.zip | |
Updates to panel
- added charging
- added better cross color support
Diffstat (limited to '.config/herbstluftwm/autostart')
| -rwxr-xr-x | .config/herbstluftwm/autostart | 16 |
1 files changed, 9 insertions, 7 deletions
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 @@ | |||
| 3 | # this is a simple config for herbstluftwm | 3 | # this is a simple config for herbstluftwm |
| 4 | 4 | ||
| 5 | #Wallpaper | 5 | #Wallpaper |
| 6 | WALLPAPER=/usr/share/backgrounds/gnome/Road.jpg | 6 | WALLPAPER=/home/tom/Pictures/ThDLxEW.jpg |
| 7 | 7 | ||
| 8 | #Numix color palette | 8 | #Numix color palette |
| 9 | LIGHT='#f9f9f9' | 9 | LIGHT='#f9f9f9' |
| @@ -12,6 +12,9 @@ ACCENT='#d64937' | |||
| 12 | LDARK='#333333' | 12 | LDARK='#333333' |
| 13 | DARK='#2d2d2d' | 13 | DARK='#2d2d2d' |
| 14 | 14 | ||
| 15 | #Panel | ||
| 16 | PANEL_HEIGHT=24 | ||
| 17 | |||
| 15 | hc() { | 18 | hc() { |
| 16 | herbstclient "$@" | 19 | herbstclient "$@" |
| 17 | } | 20 | } |
| @@ -24,15 +27,13 @@ xsetroot -solid $ACCENT | |||
| 24 | hc keyunbind --all | 27 | hc keyunbind --all |
| 25 | 28 | ||
| 26 | # keybindings | 29 | # keybindings |
| 27 | # if you have a super key you will be much happier with Mod set to Mod4 | ||
| 28 | #Mod=Mod1 # Use alt as the main modifier | ||
| 29 | Mod=Mod4 # Use the super key as the main modifier | 30 | Mod=Mod4 # Use the super key as the main modifier |
| 30 | 31 | ||
| 31 | hc keybind $Mod-Shift-q quit | 32 | hc keybind $Mod-Shift-q quit |
| 32 | hc keybind $Mod-Shift-r reload | 33 | hc keybind $Mod-Shift-r reload |
| 33 | hc keybind $Mod-Shift-c close | 34 | hc keybind $Mod-Shift-c close |
| 34 | hc keybind $Mod-Return spawn xfce4-terminal | 35 | hc keybind $Mod-Return spawn xfce4-terminal |
| 35 | hc keybind ~ spawn xfce4-terminal --drop-down | 36 | hc keybind $Mod-grave spawn dmenu_run -h $PANEL_HEIGHT -p "Run:" -nb $DARK -nf $LIGHT -sb $ACCENT -sf $DARK |
| 36 | 37 | ||
| 37 | # basic movement | 38 | # basic movement |
| 38 | # focusing clients | 39 | # focusing clients |
| @@ -74,7 +75,7 @@ hc keybind $Mod-Control-Up resize up +$resizestep | |||
| 74 | hc keybind $Mod-Control-Right resize right +$resizestep | 75 | hc keybind $Mod-Control-Right resize right +$resizestep |
| 75 | 76 | ||
| 76 | # tags | 77 | # tags |
| 77 | tag_names=( {1..9} ) | 78 | tag_names=( I II III IV V VI VII VIII IX X ) |
| 78 | tag_keys=( {1..9} 0 ) | 79 | tag_keys=( {1..9} 0 ) |
| 79 | 80 | ||
| 80 | # Selecting workspaces | 81 | # Selecting workspaces |
| @@ -136,7 +137,7 @@ hc attr theme.inner_color $DARK | |||
| 136 | hc attr theme.border_width 3 | 137 | hc attr theme.border_width 3 |
| 137 | hc attr theme.floating.border_width 4 | 138 | hc attr theme.floating.border_width 4 |
| 138 | hc attr theme.floating.outer_width 1 | 139 | hc attr theme.floating.outer_width 1 |
| 139 | hc attr theme.floating.outer_color black | 140 | hc attr theme.floating.outer_color $DARk |
| 140 | hc attr theme.active.inner_color $DARK | 141 | hc attr theme.active.inner_color $DARK |
| 141 | hc attr theme.active.outer_color $DARK | 142 | hc attr theme.active.outer_color $DARK |
| 142 | hc attr theme.background_color $DARK | 143 | hc attr theme.background_color $DARK |
| @@ -171,7 +172,8 @@ herbstclient set tree_style '╾│ ├└╼─┐' | |||
| 171 | #Start panel in all monitors | 172 | #Start panel in all monitors |
| 172 | start_panel() { | 173 | start_panel() { |
| 173 | for monitor in $(herbstclient list_monitors | cut -d: -f1) ; do | 174 | for monitor in $(herbstclient list_monitors | cut -d: -f1) ; do |
| 174 | "$1" $monitor & | 175 | "$1" $monitor $PANEL_HEIGHT $LIGHT $LLIGHT $ACCENT $LDARK $DARK |
| 176 | $2& | ||
| 175 | done | 177 | done |
| 176 | } | 178 | } |
| 177 | 179 | ||
