bspwm: Add workspace definition logic to bspwmrc
The fact that the config file is a script is really handy I meant to do similar with i3, but the inability to use config file variables was a pain in the dick I can do this sort of stuff now with bspwm
This commit is contained in:
parent
7d2d5228ec
commit
b1fbca8b34
@ -42,7 +42,17 @@ fi
|
||||
$HOME/.config/polybar/start.sh
|
||||
|
||||
## bspwm GENERAL CONFIGURATION
|
||||
bspc monitor -d 1 2 3 4 5 6 7 8
|
||||
hostname=$(hostname)
|
||||
hosts_single=(iridium)
|
||||
for host in $hosts_single; do
|
||||
if [ $hostname = $host ]; then
|
||||
bspc monitor -d 1 2 3 4 5 6 7 8
|
||||
fi
|
||||
done
|
||||
if [ $hostname = tungsten ]; then
|
||||
bspc monitor DisplayPort-0 -d 1 2 3 4
|
||||
bspc monitor HDMI-0 -d 5 6 7 8
|
||||
fi
|
||||
|
||||
bspc config border_width 4
|
||||
bspc config window_gap 10
|
||||
|
Loading…
Reference in New Issue
Block a user