From 7586f3c64ead038d9400ababd503d6af1580df05 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Mon, 4 May 2020 14:43:12 +0200 Subject: [PATCH] Use first screen for polybar --- .config/polybar/scripts/launch_polybar.sh.desk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/polybar/scripts/launch_polybar.sh.desk b/.config/polybar/scripts/launch_polybar.sh.desk index 12bd37a..c9f1c40 100755 --- a/.config/polybar/scripts/launch_polybar.sh.desk +++ b/.config/polybar/scripts/launch_polybar.sh.desk @@ -7,8 +7,8 @@ if type "xrandr"; then monitors=$(xrandr --query | grep " connected" | cut -d" " -f1) monarray=($monitors) for name in ${names[@]}; do - MONITOR=${monarray[1]} polybar -q --reload ${name} & + MONITOR=${monarray[0]} polybar -q --reload ${name} & done else polybar --reload ${name} & -fi \ No newline at end of file +fi