From e332835186f8c069f2e27c62d917aa60f7ae41f1 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Tue, 14 Nov 2023 18:39:25 +0100 Subject: [PATCH] Fix bar not showing on primary display --- bin/bar | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/bar b/bin/bar index b208c84..2f88e19 100755 --- a/bin/bar +++ b/bin/bar @@ -5,7 +5,7 @@ set -x killall polybar if type "xrandr"; then - for m in $(xrandr --query | grep " connected" |grep "primary" | cut -d" " -f1); do + for m in $(xrandr --query | grep "connected" |grep "primary" | cut -d" " -f1); do MONITOR=$m polybar --reload dwm & done for m in $(xrandr --query | grep " connected" |grep -v "primary" | cut -d" " -f1); do