legacy-dotfiles/.config/herbstluftwm/autostart

78 lines
2.3 KiB
Text
Raw Permalink Normal View History

2012-10-11 21:27:52 +02:00
#!/bin/zsh
function hc () {
herbstclient $@
}
modkey="Mod4"
2012-11-05 21:01:59 +01:00
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
2012-10-11 21:27:52 +02:00
hc keybind $modkey+Ctrl+q quit
2012-11-05 21:01:59 +01:00
hc keybind $modkey+Ctrl+r reload
2012-11-14 01:21:54 +01:00
hc keybind $modkey+Shift+1 spawn dmenu_run -p 'Run:' -b -nb '#111113' -nf '#eeeeec' -sb '#171719'
2012-11-05 21:01:59 +01:00
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
2012-11-07 03:27:29 +01:00
hc keybind $modkey+Shift+s split horizontal 0.5
2012-11-05 21:01:59 +01:00
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
2012-11-07 03:27:29 +01:00
hc keybind $modkey+s split vertical 0.5
2012-11-05 21:01:59 +01:00
hc keybind $modkey+space cycle_layout 1
hc keybind $modkey+w spawn conkeror
hc keybind Ctrl+Mod1+l spawn i3lock -c 000000
2012-11-11 23:29:00 +01:00
hc keybind XF86AudioNext spawn mpc next
hc keybind XF86AudioPlay spawn mpc toggle
hc keybind XF86AudioPrev spawn mpc prev
hc keybind XF86AudioStop spawn mpc stop
2012-10-11 21:27:52 +02:00
2012-11-05 21:01:59 +01:00
hc set default_frame_layout 2
hc set focus_stealing_prevention 0
hc set frame_bg_transparent 1
2012-10-11 21:27:52 +02:00
hc set frame_border_width 0
2012-11-05 21:01:59 +01:00
hc set raise_on_focus 1
hc set window_border_active_color "#999999"
hc set window_border_normal_color "#222224"
2012-10-11 21:27:52 +02:00
hc set window_border_width 1
hc set_layout max
hc add default2
hc remove_monitor 1
hc move_monitor 0 1920x1080+0+0
hc add_monitor 1680x1050+1920+0 default2
2012-11-07 03:27:29 +01:00
hc pad 0 20 -5 -5 -5
2012-10-11 21:27:52 +02:00
hc pad 1 -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
2012-11-07 18:49:51 +01:00
hc rule class=Pinentry pseudotile=on
2012-11-11 23:29:00 +01:00
hc rule class=Dispass pseudotile=on
hc rule title="GIMP Startup" pseudotile=on
2012-10-11 21:27:52 +02:00
# 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))"