Polybar: Change names of bars

This commit is contained in:
Salt 2018-05-18 00:20:20 -05:00
parent f0aeecc806
commit 85069b1b8f
2 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ font-4 = ${res/fonts.font-4}
# BARS # BARS
#==================== #====================
[bar/primary-top] [bar/primary]
monitor = ${env:PB_MONITOR:eDP-1} monitor = ${env:PB_MONITOR:eDP-1}
inherit = template/bar inherit = template/bar
@ -80,7 +80,7 @@ modules-left = bspwm cpu memory fs-home
modules-center = xwindow modules-center = xwindow
modules-right = wlan xbacklight volume battery date modules-right = wlan xbacklight volume battery date
[bar/secondary-top] [bar/secondary]
monitor = ${env:PB_MONITOR} monitor = ${env:PB_MONITOR}
inherit = template/bar inherit = template/bar

View File

@ -14,7 +14,7 @@ if [[ $PB_MONITOR == "" ]]; then
unset PB_MONITOR unset PB_MONITOR
fi fi
printf '[INFO] Starting Polybar primary on monitor $PB_MONITOR' 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 # ...and then moving on to secondaries, if we have them
# Alright, now this looks *really* bad, spawning so many subprocesses, but # 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. # there's no way in hell you can get me to attempt to solve this with regex.