summaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm/autostart
blob: cf47e866c837bc4dacb19ba55d279713b170e607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/zsh

function hc () {
    herbstclient $@
}

modkey="Mod4"

hc keybind $modkey+Ctrl+q quit
hc keybind $modkey+e spawn emacs

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"

hc set focus_stealing_prevention 0

hc set default_frame_layout 2
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

hc pad 0 -5 -5 -5 -5
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

# 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))"