removed junk

dev-docs
Moritz Böhme 2021-09-07 23:08:05 +02:00
parent c4a64e2f11
commit 155f483848
3 changed files with 12 additions and 13 deletions

View File

@ -14,9 +14,9 @@ margin-top = 0
;; File Inclusion ;; File Inclusion
; include an external file, like module file, etc. ; include an external file, like module file, etc.
include-file = ~/.config/polybar/colors.ini #include-file = ~/.config/polybar/colors.ini
include-file = ~/.config/polybar/modules.ini #include-file = ~/.config/polybar/modules.ini
include-file = ~/.config/polybar/custom/modules.ini #include-file = ~/.config/polybar/custom/modules.ini
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
@ -100,14 +100,14 @@ border-bottom-color = ${colors.pink}
; Number of spaces to add at the beginning/end of the bar ; Number of spaces to add at the beginning/end of the bar
; Individual side values can be defined using: ; Individual side values can be defined using:
; padding-{left,right} ; padding-{left,right}
padding-left = 3 padding-left = 1
padding-right = 3 padding-right = 1
; Number of spaces to add before/after each module ; Number of spaces to add before/after each module
; Individual side values can be defined using: ; Individual side values can be defined using:
; module-margin-{left,right} ; module-margin-{left,right}
module-margin-left = 2 module-margin-left = 1
module-margin-right = 2 module-margin-right = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
@ -119,7 +119,7 @@ module-margin-right = 2
; font-3 = FontAwesome:size=10 ; font-3 = FontAwesome:size=10
; See the Fonts wiki page for more details ; See the Fonts wiki page for more details
font-0 = "NotoSans Nerd Font:size=11;0" font-0 = "FiraCode Nerd Font:size=11;0"
; Modules are added to one of the available blocks ; Modules are added to one of the available blocks
; modules-left = cpu ram ; modules-left = cpu ram

View File

@ -1,15 +1,14 @@
#!/bin/sh #!/usr/bin/env bash
# Terminate already running bar instances # Terminate already running bar instances
killall -q polybar pkill -u $UID -x polybar
# Wait until the processes have been shut down # Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch Polybar # Launch Polybar
for m in $(polybar --list-monitors | cut -d":" -f1); do for m in $(polybar --list-monitors | cut -d":" -f1); do
# MONITOR=$m polybar --reload top -c ~/.config/polybar/config.ini & MONITOR=$m polybar --reload bottom &
MONITOR=$m polybar --reload bottom -c ~/.config/polybar/config.ini &
done done
echo "Polybar launched..." echo "Polybar launched..."

View File

@ -102,7 +102,7 @@ label-empty-padding = 1
label-separator = " " label-separator = " "
label-separator-foreground = ${colors.cyan} label-separator-foreground = ${colors.cyan}
label-separator-padding = 2 label-separator-padding = 1
pin-workspaces = true pin-workspaces = true