From 9a4f14c8d4efaae3ee394542126e269925a5e7d9 Mon Sep 17 00:00:00 2001 From: ray Date: Mon, 13 Jul 2020 20:53:41 +0100 Subject: [PATCH] only display on one monitor --- config | 14 +------------- toggle-polybar.sh | 5 +---- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/config b/config index f8b6fb1..3d97653 100644 --- a/config +++ b/config @@ -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} diff --git a/toggle-polybar.sh b/toggle-polybar.sh index e0cac7e..0fdad27 100755 --- a/toggle-polybar.sh +++ b/toggle-polybar.sh @@ -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