diff --git a/.config/polybar/config b/.config/polybar/config index 51bd123..dd1b950 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -1,4 +1,4 @@ -;===================================================== +===================================================== ; ; To learn more about how to configure Polybar ; go to https://github.com/jaagr/polybar @@ -333,7 +333,7 @@ tray-padding = 0 cursor-click = pointer cursor-scroll = ns-resize -[ibar/ubuntuedpsingle] +[bar/ubuntuedpsingle] monitor = ${env:MONITOR:eDP} width = 100% height = 30 @@ -351,7 +351,7 @@ module-margin-left = 1 module-margin-right = 2 font-0 = FiraCode:pixelsize=15;1 font-1 = FontAwesome:pixelsize=15;2 -font-2 = "Wuncon Siji:pixelsize=15;1" +font-2 = "Siji:pixelsize=15;1" modules-left = i3 modules-center = mpd modules-right = xbacklight wlan cpu memory temperature battery volume date diff --git a/.config/polybar/ubuntu-single.sh b/.config/polybar/ubuntu-single.sh new file mode 100755 index 0000000..5679212 --- /dev/null +++ b/.config/polybar/ubuntu-single.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env sh + +# Terminate already running bar instances +killall -q polybar + +# Wait until the processes have been shut down +while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done + +# Launch bar1 and bar2 +polybar ubuntuedpsingle & + + +echo "Bars launched..."