fix: polybar and bspwm config per host
This commit is contained in:
parent
9c3059af6f
commit
743a3f8f26
3 changed files with 334 additions and 334 deletions
.config/bspwm
|
@ -2,13 +2,21 @@
|
|||
|
||||
sxhkd &
|
||||
|
||||
bspc monitor HDMI-1 -d 01 02 03 04 05 06 07
|
||||
bspc monitor DVI-D-1 -d 08 09 10
|
||||
host_name=$(hostname)
|
||||
if [[ $host_name == "portalo" ]]; then
|
||||
bspc monitor HDMI-1 -d 01 02 03 04 05 06 07
|
||||
bspc monitor DVI-D-1 -d 08 09 10
|
||||
|
||||
bspc desktop ^7 --layout monocle
|
||||
bspc desktop ^9 --layout monocle
|
||||
bspc desktop ^10 --layout monocle
|
||||
elif [[ $host_name == *"laptop"* ]]; then
|
||||
bspc monitor eDP1 -d 01 02 03 04 05 06 07 08 09 10
|
||||
else
|
||||
bspc monitor primary -d 01 02 03 04 05 06 07 08 09 10
|
||||
fi
|
||||
|
||||
bspc desktop ^1 --layout monocle
|
||||
bspc desktop ^7 --layout monocle
|
||||
bspc desktop ^9 --layout monocle
|
||||
bspc desktop ^10 --layout monocle
|
||||
|
||||
bspc config border_width 1
|
||||
bspc config window_gap 10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue