From d8ddccd8859ec8ae40173bba6d1da44119960ced Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Mon, 24 Aug 2020 11:25:03 -0300 Subject: Changed resolution to 1920x1080, now supporting multiple monitors --- .config/polybar/launch.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.config/polybar') diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh index e205d12d..6eee7efb 100755 --- a/.config/polybar/launch.sh +++ b/.config/polybar/launch.sh @@ -12,6 +12,8 @@ killall -q polybar while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done # Launch Polybar, using default config location ~/.config/polybar/config -polybar --config=$HOME/.config/polybar/config top & +for m in $(polybar --list-monitors | cut -d":" -f1); do + MONITOR=$m polybar --config=$HOME/.config/polybar/config top & +done echo "Polybar launched..." -- cgit v1.2.3