polybar external monitor

This commit is contained in:
Daniel Bauer
2019-03-18 14:12:33 +01:00
parent 5a558b109e
commit 74602784b0
2 changed files with 5 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ wm-restack = i3
scroll-up = i3wm-wsnext
scroll-down = i3wm-wsprev
[bar/laptop]
monitor = ${env:MONITOR:eDP-1}
inherit = bar/base
@@ -44,6 +45,9 @@ font-0 = "Noto Sans:size=14:style=Regular;1"
font-1 = unifont:fontformat=truetype:size=14:antialias=false;0
font-2 = FontAwesome:size=14;0
[bar/laptop_station]
inherit = bar/laptop
monitor = ${env:MONITOR:HDMI-2}
[bar/workstation]
inherit = bar/base
monitor = ${env:MONITOR:DP-2}

View File

@@ -9,5 +9,6 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
polybar -c ~/.config/polybar/config workstation &
polybar -c ~/.config/polybar/config workstation2 &
polybar -c ~/.config/polybar/config laptop &
polybar -c ~/.config/polybar/config laptop_station &
echo "Bars launched..."