Update herbstluftwm config

This commit is contained in:
Tom Willemse 2014-08-20 23:57:02 +02:00
parent 46ba5c7a01
commit 66e6ded86f

View file

@ -8,6 +8,9 @@ function hc() {
hc emit_hook reload
xsetroot -solid '#5A8E3A'
# remove all existing keybindings
hc keyunbind --all
@ -16,10 +19,7 @@ Mod=Mod4
hc keybind $Mod-Shift-q quit
hc keybind $Mod-Shift-r reload
hc keybind $Mod-Shift-c close
hc keybind $Mod-c spawn urxvt
hc keybind $Mod-e spawn emacsclient -ca emacs
hc keybind $Mod-w spawn conkeror
hc keybind $Mod-Return spawn xterm
# tags
TAG_NAMES=( {1..9} )
@ -47,8 +47,8 @@ hc keybind $Mod-space cycle_layout 1
hc keybind $Mod-u split vertical 0.5
hc keybind $Mod-o split horizontal 0.5
hc keybind $Mod-s floating toggle
# hc keybind $Mod-f fullscreen toggle
# hc keybind $Mod-p pseudotile toggle
hc keybind $Mod-f fullscreen toggle
hc keybind $Mod-p pseudotile toggle
# resizing
RESIZESTEP=0.05
@ -67,11 +67,11 @@ hc mousebind $Mod-Button3 zoom
hc keybind $Mod-BackSpace cycle_monitor
hc keybind $Mod-Tab cycle_all +1
hc keybind $Mod-Shift-Tab cycle_all -1
# hc keybind $Mod-c cycle
hc keybind $Mod-b focus left
hc keybind $Mod-n focus down
hc keybind $Mod-p focus up
hc keybind $Mod-f focus right
hc keybind $Mod-c cycle
hc keybind $Mod-h focus left
hc keybind $Mod-j focus down
hc keybind $Mod-k focus up
hc keybind $Mod-l focus right
hc keybind $Mod-i jumpto urgent
hc keybind $Mod-Shift-h shift left
hc keybind $Mod-Shift-j shift down
@ -79,20 +79,20 @@ hc keybind $Mod-Shift-k shift up
hc keybind $Mod-Shift-l shift right
# colors
hc set frame_border_active_color '#111111'
hc set frame_border_normal_color '#111111'
hc set frame_bg_normal_color '#111111'
hc set frame_bg_active_color '#2a3b54'
hc set frame_border_width 4
hc set frame_border_active_color '#222222'
hc set frame_border_normal_color '#101010'
hc set frame_bg_normal_color '#565656'
hc set frame_bg_active_color '#345F0C'
hc set frame_border_width 1
hc set window_border_width 3
hc set window_border_inner_width 1
hc set window_border_normal_color '#111111'
hc set window_border_active_color '#2a3b54'
hc set window_border_normal_color '#454545'
hc set window_border_active_color '#9fbc00'
hc set always_show_frame 1
hc set frame_gap 4
# add overlapping window borders
hc set window_gap 0
hc set frame_padding 0
# add overlapping window borders
hc set window_gap -2
hc set frame_padding 2
hc set smart_window_surroundings 0
hc set smart_frame_surroundings 1
hc set mouse_recenter_gap 0
@ -118,6 +118,10 @@ herbstclient set tree_style '╾│ ├└╼─┐'
# or simply:
# hc detect_monitors
hc set_monitors 1920x1080+0+0 1680x1050+1920+0
hc pad 0 -5 -5 -4 -5
hc split h 0.575
# find the panel
panel=~/.config/herbstluftwm/panel.sh
[ -x "$panel" ] || panel=/etc/xdg/herbstluftwm/panel.sh
for monitor in $(herbstclient list_monitors | cut -d: -f1) ; do
# start it on each monitor
$panel $monitor &
done