From 85069b1b8f8817b973404f3ce989e67ab64b2923 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 18 May 2018 00:20:20 -0500 Subject: [PATCH] Polybar: Change names of bars --- .config/polybar/config | 4 ++-- .config/polybar/start.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index c21a70c9..ff49eecc 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -72,7 +72,7 @@ font-4 = ${res/fonts.font-4} # BARS #==================== -[bar/primary-top] +[bar/primary] monitor = ${env:PB_MONITOR:eDP-1} inherit = template/bar @@ -80,7 +80,7 @@ modules-left = bspwm cpu memory fs-home modules-center = xwindow modules-right = wlan xbacklight volume battery date -[bar/secondary-top] +[bar/secondary] monitor = ${env:PB_MONITOR} inherit = template/bar diff --git a/.config/polybar/start.sh b/.config/polybar/start.sh index 338ac707..9d268112 100755 --- a/.config/polybar/start.sh +++ b/.config/polybar/start.sh @@ -14,7 +14,7 @@ if [[ $PB_MONITOR == "" ]]; then unset PB_MONITOR fi printf '[INFO] Starting Polybar primary on monitor $PB_MONITOR' -polybar -r primary-top& +polybar -r primary& # ...and then moving on to secondaries, if we have them # Alright, now this looks *really* bad, spawning so many subprocesses, but # there's no way in hell you can get me to attempt to solve this with regex.