From ffb920179648bd4fdde1eb8b2e8b8e068fb4eb4b Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <55825613+luevano@users.noreply.github.com> Date: Thu, 17 Dec 2020 04:13:56 -0700 Subject: Semi config bspwm and sxhkdrc --- .config/bspwm/bspwmrc | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) (limited to '.config/bspwm') 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 -- cgit v1.2.3-70-g09d2