From a31310594777f40db5c55b24a308e180d2070e66 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 8 Feb 2018 00:54:04 -0600 Subject: [PATCH] Polybar: Change bar names These ones more accurately reflect their purposes and don't constrain possible settings --- .config/polybar/config | 6 +++--- .config/polybar/start.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index 459df6e4..28906058 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -52,7 +52,7 @@ font-1 = ${res/fonts.font-1} # BARS #==================== -[bar/primary-top-left] +[bar/primary-left] monitor = ${env:PB_MONITOR} inherit = template/bar offset-x = 5% @@ -60,7 +60,7 @@ offset-x = 5% modules-left = i3 bspwm modules-right = update-arch cpu memory fs-home -[bar/primary-top-right] +[bar/primary-right] monitor = ${env:PB_MONITOR} inherit = template/bar offset-x = 55% @@ -68,7 +68,7 @@ offset-x = 55% modules-left = wlan modules-right = xbacklight volume battery date -[bar/secondary-top] +[bar/secondary] monitor = ${env:PB_MONITOR} inherit = template/bar width = 90% diff --git a/.config/polybar/start.sh b/.config/polybar/start.sh index 85c4bc1c..24808d4a 100755 --- a/.config/polybar/start.sh +++ b/.config/polybar/start.sh @@ -21,8 +21,8 @@ if [[ $PB_MONITOR == "" ]]; then exit 1 fi printf '[INFO] Starting Polybar primary on monitor $PB_MONITOR' -polybar -r primary-top-left& -polybar -r primary-top-right& +polybar -r primary-left& +polybar -r primary-right& # ...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. @@ -33,7 +33,7 @@ if [[ $secondary_monitors == "" ]]; then fi for monitor in $secondary_monitors; do printf '[INFO] Starting Polybar secondary on monitor $monitor' - PB_MONITOR=$monitor polybar -r secondary-top + PB_MONITOR=$monitor polybar -r secondary done disown