os/+arch (bspwm): add halimede host rule
This commit is contained in:
parent
adcd753b6b
commit
50e540615c
|
@ -50,19 +50,24 @@ primary=$(bspc query -M -m prmary)
|
||||||
host=$(hostname)
|
host=$(hostname)
|
||||||
case $host in
|
case $host in
|
||||||
triton*)
|
triton*)
|
||||||
export MONITOR=DVI-I-1
|
MONITOR=DVI-I-1
|
||||||
[[ $nmon > 1 ]] && bspc monitor HDMI-0 -d HDMI-0/1
|
[[ $nmon > 1 ]] && bspc monitor HDMI-0 -d HDMI-0/1
|
||||||
[[ $nmon > 2 ]] && bspc monitor DVI-D-0 -d DVI-D-0/1
|
[[ $nmon > 2 ]] && bspc monitor DVI-D-0 -d DVI-D-0/1
|
||||||
|
|
||||||
;;
|
;;
|
||||||
proteus*)
|
proteus*)
|
||||||
export MONITOR=LVDS-0
|
MONITOR=LVDS-0
|
||||||
|
;;
|
||||||
|
halimede*)
|
||||||
|
MONITOR=HDMI-0
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if [[ $MONITOR ]]; then
|
if [[ $MONITOR ]]; then
|
||||||
bspc config -m $MONITOR top_padding 30
|
bspc config -m $MONITOR top_padding 30
|
||||||
bspc monitor $MONITOR -d {1,2,3,4,5}
|
bspc monitor $MONITOR -d {1,2,3,4,5}
|
||||||
~/.config/polybar/run.sh
|
~/.config/polybar/run.sh
|
||||||
|
|
||||||
|
export MONITOR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue