aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm/autostart
diff options
context:
space:
mode:
Diffstat (limited to '.config/herbstluftwm/autostart')
-rwxr-xr-x.config/herbstluftwm/autostart16
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
6WALLPAPER=/usr/share/backgrounds/gnome/Road.jpg 6WALLPAPER=/home/tom/Pictures/ThDLxEW.jpg
7 7
8#Numix color palette 8#Numix color palette
9LIGHT='#f9f9f9' 9LIGHT='#f9f9f9'
@@ -12,6 +12,9 @@ ACCENT='#d64937'
12LDARK='#333333' 12LDARK='#333333'
13DARK='#2d2d2d' 13DARK='#2d2d2d'
14 14
15#Panel
16PANEL_HEIGHT=24
17
15hc() { 18hc() {
16 herbstclient "$@" 19 herbstclient "$@"
17} 20}
@@ -24,15 +27,13 @@ xsetroot -solid $ACCENT
24hc keyunbind --all 27hc 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
29Mod=Mod4 # Use the super key as the main modifier 30Mod=Mod4 # Use the super key as the main modifier
30 31
31hc keybind $Mod-Shift-q quit 32hc keybind $Mod-Shift-q quit
32hc keybind $Mod-Shift-r reload 33hc keybind $Mod-Shift-r reload
33hc keybind $Mod-Shift-c close 34hc keybind $Mod-Shift-c close
34hc keybind $Mod-Return spawn xfce4-terminal 35hc keybind $Mod-Return spawn xfce4-terminal
35hc keybind ~ spawn xfce4-terminal --drop-down 36hc 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
74hc keybind $Mod-Control-Right resize right +$resizestep 75hc keybind $Mod-Control-Right resize right +$resizestep
75 76
76# tags 77# tags
77tag_names=( {1..9} ) 78tag_names=( I II III IV V VI VII VIII IX X )
78tag_keys=( {1..9} 0 ) 79tag_keys=( {1..9} 0 )
79 80
80# Selecting workspaces 81# Selecting workspaces
@@ -136,7 +137,7 @@ hc attr theme.inner_color $DARK
136hc attr theme.border_width 3 137hc attr theme.border_width 3
137hc attr theme.floating.border_width 4 138hc attr theme.floating.border_width 4
138hc attr theme.floating.outer_width 1 139hc attr theme.floating.outer_width 1
139hc attr theme.floating.outer_color black 140hc attr theme.floating.outer_color $DARk
140hc attr theme.active.inner_color $DARK 141hc attr theme.active.inner_color $DARK
141hc attr theme.active.outer_color $DARK 142hc attr theme.active.outer_color $DARK
142hc attr theme.background_color $DARK 143hc 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
172start_panel() { 173start_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