From 155f48384866e068c38c3f2584bfb6aace5981f3 Mon Sep 17 00:00:00 2001 From: MoritzBoehme Date: Tue, 7 Sep 2021 23:08:05 +0200 Subject: [PATCH] removed junk --- config/polybar/config.ini | 16 ++++++++-------- config/polybar/launch.sh | 7 +++---- config/polybar/modules.ini | 2 +- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/config/polybar/config.ini b/config/polybar/config.ini index 7821848..7a4481a 100755 --- a/config/polybar/config.ini +++ b/config/polybar/config.ini @@ -14,9 +14,9 @@ margin-top = 0 ;; File Inclusion ; include an external file, like module file, etc. -include-file = ~/.config/polybar/colors.ini -include-file = ~/.config/polybar/modules.ini -include-file = ~/.config/polybar/custom/modules.ini +#include-file = ~/.config/polybar/colors.ini +#include-file = ~/.config/polybar/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 ; Individual side values can be defined using: ; padding-{left,right} -padding-left = 3 -padding-right = 3 +padding-left = 1 +padding-right = 1 ; Number of spaces to add before/after each module ; Individual side values can be defined using: ; module-margin-{left,right} -module-margin-left = 2 -module-margin-right = 2 +module-margin-left = 1 +module-margin-right = 1 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ @@ -119,7 +119,7 @@ module-margin-right = 2 ; font-3 = FontAwesome:size=10 ; 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-left = cpu ram diff --git a/config/polybar/launch.sh b/config/polybar/launch.sh index 4893216..cca90a1 100755 --- a/config/polybar/launch.sh +++ b/config/polybar/launch.sh @@ -1,15 +1,14 @@ -#!/bin/sh +#!/usr/bin/env bash # Terminate already running bar instances -killall -q polybar +pkill -u $UID -x polybar # Wait until the processes have been shut down while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done # Launch Polybar 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 -c ~/.config/polybar/config.ini & + MONITOR=$m polybar --reload bottom & done echo "Polybar launched..." diff --git a/config/polybar/modules.ini b/config/polybar/modules.ini index 0e0c8c4..5cd13b7 100755 --- a/config/polybar/modules.ini +++ b/config/polybar/modules.ini @@ -102,7 +102,7 @@ label-empty-padding = 1 label-separator = " " label-separator-foreground = ${colors.cyan} -label-separator-padding = 2 +label-separator-padding = 1 pin-workspaces = true