aboutsummaryrefslogtreecommitdiff
path: root/bspwm/bspwmrc
blob: 99cc45715b4c278240ceaa8f7f6f9743f3408600 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

sxhkd -c ~/.config/bspwm/sxhkdrc &
~/.config/polybar/launch.sh &
wmname compiz

if [ $(xrandr --listactivemonitors | wc -l) -gt 2 ]; then
    bspc monitor primary -d 1 2 3 4 term
    bspc monitor primary#next -d a s d f
else
    bspc monitor primary -d 1 2 3 4 a s d f term
fi

bspc config border_width             4
bspc config window_gap               0
bspc config focus_follows_pointer    true
bspc config pointer_follows_monitor  true
bspc config split_ratio              0.52
bspc config borderless_monocle       true
bspc config gapless_monocle          true

bspc rule -a *:tmux_term desktop=term