65 lines
2 KiB
Bash
Executable file
65 lines
2 KiB
Bash
Executable file
#!/bin/zsh
|
|
|
|
function hc () {
|
|
herbstclient $@
|
|
}
|
|
|
|
modkey="Mod4"
|
|
|
|
hc keybind $modkey+Ctrl+b resize left +0.05
|
|
hc keybind $modkey+Ctrl+f resize right +0.05
|
|
hc keybind $modkey+Ctrl+n resize down +0.05
|
|
hc keybind $modkey+Ctrl+p resize up +0.05
|
|
hc keybind $modkey+Ctrl+q quit
|
|
hc keybind $modkey+Ctrl+r reload
|
|
# hc keybind $modkey+Shift+1 spawn dmenu_run -p 'Run:' -b -nb '#111113' -nf '#eeeeec' -sb '#171719'
|
|
hc keybind $modkey+Shift+b shift left
|
|
hc keybind $modkey+Shift+f shift right
|
|
hc keybind $modkey+Shift+n shift down
|
|
hc keybind $modkey+Shift+p shift up
|
|
hc keybind $modkey+Shift+s split horizontal 0.5
|
|
hc keybind $modkey+b focus -i left
|
|
hc keybind $modkey+c spawn urxvt
|
|
hc keybind $modkey+comma cycle_monitor -1
|
|
hc keybind $modkey+e spawn emacsclient -ca emacs
|
|
hc keybind $modkey+f focus -i right
|
|
hc keybind $modkey+k close
|
|
hc keybind $modkey+n focus -i down
|
|
hc keybind $modkey+o cycle_all
|
|
hc keybind $modkey+p focus -i up
|
|
hc keybind $modkey+period cycle_monitor 1
|
|
hc keybind $modkey+q remove
|
|
hc keybind $modkey+s split vertical 0.5
|
|
hc keybind $modkey+space cycle_layout 1
|
|
hc keybind $modkey+w spawn conkeror
|
|
hc keybind Ctrl+Mod1+l spawn i3lock -c 000000
|
|
|
|
hc set default_frame_layout 2
|
|
hc set focus_stealing_prevention 0
|
|
hc set frame_bg_transparent 1
|
|
hc set frame_border_width 0
|
|
hc set raise_on_focus 1
|
|
hc set window_border_active_color "#999999"
|
|
hc set window_border_normal_color "#222224"
|
|
hc set window_border_width 1
|
|
|
|
hc set_layout max
|
|
|
|
hc pad 0 -5 -5 -5 -5
|
|
|
|
hc mousebind $modkey-Button1 move
|
|
hc mousebind $modkey-Button2 resize
|
|
hc mousebind $modkey-Button3 zoom
|
|
|
|
hc unrule -F
|
|
hc rule focus=on
|
|
hc rule windowtype=_NET_WM_WINDOW_TYPE_DIALOG focus=on pseudotile=on
|
|
hc rule class=Xephyr pseudotile=on
|
|
hc rule instance=Xine\ Window pseudotile=on
|
|
hc rule class=Pinentry pseudotile=on
|
|
|
|
# xbindkeys
|
|
|
|
# ~/.config/herbstluftwm/panel.sh &
|
|
|
|
# hc load default "(split horizontal:0.550000:0 (split vertical:0.850000:0 (split horizontal:0.180000:1 (clients max:0) (clients max:0 0x140001a)) (clients max:0)) (clients max:0 0xc00077))"
|