os/+arch (bspwm): update
This commit is contained in:
parent
12227e5e0c
commit
ae3b996674
|
@ -1,8 +1,5 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
# top-bar
|
|
||||||
pgrep -x polybar >/dev/null || polybar main >~/.config/polybar/polybar.log 2>&1 &
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Appearance
|
# Appearance
|
||||||
#
|
#
|
||||||
|
@ -53,22 +50,18 @@ primary=$(bspc query -M -m prmary)
|
||||||
host=$(hostname)
|
host=$(hostname)
|
||||||
case $host in
|
case $host in
|
||||||
triton*)
|
triton*)
|
||||||
# {
|
export MONITOR=DVI-I-1
|
||||||
# bspc monitor DVI-I-1 -n C
|
bspc monitor $MONITOR -d {1,2,3,4,5}
|
||||||
# bspc monitor HDMI-0 -n R
|
|
||||||
# bspc monitor DVI-D-0 -n L
|
|
||||||
# } >/dev/null 2>&1
|
|
||||||
|
|
||||||
bspc monitor DVI-I-1 -d {1,2,3,4,5}
|
|
||||||
[[ $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
|
||||||
|
|
||||||
bspc config -m DVI-I-1 top_padding 30
|
bspc config -m $MONITOR top_padding 30
|
||||||
;;
|
|
||||||
*) bspc monitor "$primary" -n C
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# top-bar
|
||||||
|
~/.config/polybar/run.sh
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Rules
|
# Rules
|
||||||
|
|
Loading…
Reference in a new issue