Browse Source

adding multiple polybar changes for ubuntu

master
Josh Fabean 6 years ago
parent
commit
f62c2966cd
2 changed files with 16 additions and 3 deletions
  1. +3
    -3
      .config/polybar/config
  2. +13
    -0
      .config/polybar/ubuntu-single.sh

+ 3
- 3
.config/polybar/config View File

@ -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


+ 13
- 0
.config/polybar/ubuntu-single.sh View File

@ -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..."

Loading…
Cancel
Save