legacy-dotfiles/.config/herbstluftwm/autostart

41 lines
830 B
Bash
Executable file

#!/bin/zsh
function hc () {
herbstclient $@
}
modkey="Mod4"
# Looks
hc set frame_bg_normal_color "#0c191c"
hc set frame_bg_active_color "#000000"
hc set frame_border_width 0
hc set window_border_width 1
hc set window_border_normal_color "#15abc3"
hc set window_border_active_color "#e0c625"
# Layout
hc set default_frame_layout 2
hc set_layout max
# Keys
#hc keybind $modkey-t spawn ~/bin/hlwm/capture-todo
#hc keybind $modkey-Shift-t spawn ~/bin/hlwm/show-todo
# Mouse
hc mousebind $modkey-Button1 move
hc mousebind $modkey-Button2 resize
hc mousebind $modkey-Button3 zoom
# Rules
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
# Panel
~/.config/herbstluftwm/panel.sh &
# Local Variables:
# eval: (git-auto-commit-mode 1)
# End: