summaryrefslogtreecommitdiff
path: root/.config/bspwm
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-17 04:13:56 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-17 04:13:56 -0700
commitffb920179648bd4fdde1eb8b2e8b8e068fb4eb4b (patch)
treeca1288811f256bb6fbc4641d0b109e26c58f06a1 /.config/bspwm
parent5e82a7cfefcab1bed061d505d097fe4a726d43bb (diff)
Semi config bspwm and sxhkdrc
Diffstat (limited to '.config/bspwm')
-rwxr-xr-x.config/bspwm/bspwmrc35
1 files changed, 22 insertions, 13 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc
index ab87d7f..db9b707 100755
--- a/.config/bspwm/bspwmrc
+++ b/.config/bspwm/bspwmrc
@@ -1,18 +1,27 @@
-#! /bin/sh
+#!/bin/sh
+# Check if sxhkd is installed, I guess,
+# because bspwm doesn't have keybindings by default.
pgrep -x sxhkd > /dev/null || sxhkd &
-bspc monitor -d I II III IV V VI VII VIII IX X
+# Multihead.
+if [ $(hostname) == "arch" ]; then
+ bspc monitor DP-0 -d I II III IV V
+ bspc monitor HDMI-0 -d VI VII VIII IX X
+else
+ bspc monitor -d I II III IV V VI VII VIII IX X
+fi
-bspc config border_width 2
-bspc config window_gap 12
+# General config.
+bspc config border_width 5
+bspc config window_gap 5
+bspc config split_ratio 0.52
+bspc config borderless_monocle true
+bspc config gapless_monocle true
-bspc config split_ratio 0.52
-bspc config borderless_monocle true
-bspc config gapless_monocle true
-
-bspc rule -a Gimp desktop='^8' state=floating follow=on
-bspc rule -a Chromium desktop='^2'
-bspc rule -a mplayer2 state=floating
-bspc rule -a Kupfer.py focus=on
-bspc rule -a Screenkey manage=off
+# Window rules.
+# bspc rule -a Gimp desktop='^8' state=floating follow=on
+# bspc rule -a Chromium desktop='^2'
+# bspc rule -a mplayer2 state=floating
+# bspc rule -a Kupfer.py focus=on
+# bspc rule -a Screenkey manage=off