legacy-dotfiles/.config/herbstluftwm/autostart

67 lines
1.4 KiB
Text
Raw Normal View History

2012-01-18 11:55:38 +01:00
#!/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
# Monitors
2012-01-28 01:03:06 +01:00
hc add default2
2012-01-18 11:55:38 +01:00
hc remove_monitor 1
hc move_monitor 0 1920x1080+0+0
2012-01-28 01:03:06 +01:00
hc add_monitor 1680x1050+1920+0 default2
2012-01-18 11:55:38 +01:00
2012-04-21 17:37:42 +02:00
hc pad 0 -5 -5 -5 -5
hc pad 1 -5 -5 -5 -5
2012-01-18 11:55:38 +01:00
# Keys
2012-01-27 20:54:59 +01:00
#hc keybind $modkey-t spawn ~/bin/hlwm/capture-todo
#hc keybind $modkey-Shift-t spawn ~/bin/hlwm/show-todo
2012-01-18 11:55:38 +01:00
# 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
2012-04-22 01:49:01 +02:00
hc rule instance=Xine\ Window pseudotile=on
2012-01-18 11:55:38 +01:00
# Panel
~/.config/herbstluftwm/panel.sh &
2012-05-28 22:29:50 +02:00
xmodmap ~/.Xmodmap
xsetroot -solid "#000000"
emacs --daemon &
pidof mpdscribble >& /dev/null
if [ $? -ne 0 ]
then
mpdscribble &
fi
xbindkeys
2012-04-21 16:40:13 +02:00
# Prep default
2012-04-22 01:57:08 +02:00
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))"
2012-04-21 16:40:13 +02:00
2012-01-18 11:55:38 +01:00
# Local Variables:
# eval: (git-auto-commit-mode 1)
# End: