aboutsummaryrefslogtreecommitdiff
path: root/bspwm/.config
diff options
context:
space:
mode:
Diffstat (limited to 'bspwm/.config')
-rwxr-xr-xbspwm/.config/bspwm/bspwmrc14
1 files changed, 9 insertions, 5 deletions
diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc
index df75c57..6b6940b 100755
--- a/bspwm/.config/bspwm/bspwmrc
+++ b/bspwm/.config/bspwm/bspwmrc
@@ -4,21 +4,25 @@ sxhkd -c $HOME/.config/sxhkd/sxhkdrc &
sxhkd -c $HOME/.config/sxhkd/sxhkdrc_bspwm &
m=$(bspc query -M | wc -l)
+MON=$(xrandr --query | grep -w 'connected' | awk '{print $1}' | head -n 1)
if [ "$m" = 1 ]
then
- bspc monitor LVDS-1 -d 1 2 3 4 5 6 7 8 9 10
+ bspc monitor "$MON" -d 1 2 3 4 5 6 7 8 9 10
elif [ "$m" = 2 ]
then
- bspc monitor LVDS-1 -d 1 2 3 4 5 6 7 8 9
+ bspc monitor "$MON" -d 1 2 3 4 5 6 7 8 9
bspc monitor VGA-1 -d 10
else
- bspc monitor LVDS-1 -d 1 2 3 4 5 6 7 8 9 10
+ bspc monitor "$MON" -d 1 2 3 4 5 6 7 8 9 10
fi
bspc config border_width 3
-bspc config window_gap 3
+bspc config window_gap 24
-bspc config split_ratio 0.52
+bspc config active_border_color '#0C1115'
+
+
+bspc config split_ratio 0.70
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config click_to_focus button1