only display on one monitor

This commit is contained in:
Ray Elliott 2020-07-13 20:53:41 +01:00
parent ca8454174a
commit 9a4f14c8d4
2 changed files with 2 additions and 17 deletions

14
config
View File

@ -33,22 +33,10 @@ override-redirect = true
inherit = bar/base
monitor = ${env:MONITOR:HDMI-0}
[bar/DVI-0]
inherit = bar/base
monitor = ${env:MONITOR:DVI-0}
[bar/eDP-1-1]
inherit = bar/base
monitor = ${env:MONITOR:eDP-1-1}
[bar/VGA-1-1]
inherit = bar/base
monitor = ${env:MONITOR:VGA-1-1}
[bar/HDMI-1-1]
inherit = bar/base
monitor = ${env:MONITOR:HDMI-1-1}
[module/xwindow]
type = internal/xwindow
label-foreground = ${colors.primary}
@ -57,7 +45,7 @@ label = %title:0:90:...%
[module/bspwm]
type = internal/bspwm
pin-workspaces = true
pin-workspaces = false
label-focused = %name%
label-focused-foreground = ${colors.primary}

View File

@ -7,12 +7,9 @@ else
case "$_host" in
Patricia)
polybar HDMI-0 &
polybar DVI-0 &
;;
Pamela)
polybar HDMI-1-1 &
polybar eDP-1-1 &
polybar VGA-1-1 &
polybar eDP-1-1 &
;;
esac
fi