aboutsummaryrefslogtreecommitdiff
path: root/bspwm/bspwmrc
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2020-12-16 02:12:41 +0100
committerbozo.kopic <bozo@kopic.xyz>2020-12-16 02:12:41 +0100
commit004162c05e42a2f2645ca06702567967b1d88961 (patch)
tree18319b9654b8ec561524a58fed0fd3af7131647e /bspwm/bspwmrc
parent2f694c9ab1416de12d6c5da47d384a625662edf1 (diff)
.
Diffstat (limited to 'bspwm/bspwmrc')
-rwxr-xr-xbspwm/bspwmrc8
1 files changed, 6 insertions, 2 deletions
diff --git a/bspwm/bspwmrc b/bspwm/bspwmrc
index f6d3a99..99cc457 100755
--- a/bspwm/bspwmrc
+++ b/bspwm/bspwmrc
@@ -2,10 +2,14 @@
sxhkd -c ~/.config/bspwm/sxhkdrc &
~/.config/polybar/launch.sh &
+wmname compiz
-bspc monitor primary -d 1 2 3 4 term
-[ $(xrandr --listactivemonitors | wc -l) -gt 2 ] && \
+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