From 72d40a093640b4ef0122c331989258e13fb94c7e Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 2 Nov 2021 21:56:30 -0700 Subject: [PATCH] [polybar] Fixup polybar - Remove _some_ unused variables. - Fix the font, height, and padding for the bar itself, and the modules inside. - Remove the monitor, I always only have one now. --- polybar/.config/polybar/config | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 0a46d54..5ab46b0 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -1,20 +1,17 @@ ; -*- mode: conf-windows; -*- [colors] -background = #475454 -background-alt = #222222 +background = #5b6161 foreground = #bfbfbf foreground-alt = #969696 -primary = #ffb52a +primary = #a85454 secondary = #e60053 alert = #bd2c40 [bar/rincewind] width = 100% -height = 27 -radius = 6.0 +height = 31 fixed-center = false bottom = true -monitor = HDMI-A-0 enable-ipc = true background = ${colors.background} @@ -23,17 +20,18 @@ foreground = ${colors.foreground} line-size = 3 line-color = #ff0000 -border-size = 4 +border-size = 30 +border-top-size = 0 +border-bottom-size = 0 border-color = #00000000 -padding-left = 0 padding-right = 2 module-margin-left = 1 -module-margin-right = 2 +module-margin-right = 1 -font-0 = fixed:pixelsize=10;1 -font-1 = Font Awesome 5 Free:style=Solid:pixelsize=10;0 +font-0 = Fantasque Sans Mono:pixelsize=16;3 +font-1 = Font Awesome 5 Free:style=Solid:pixelsize=10;2 font-2 = siji:pixelsize=10;1 modules-left = ewmh xwindow @@ -89,15 +87,19 @@ pin-workspaces = false enable-click = false enable-scroll = false -label-active = " %name%* " +label-occupied = " %name% " +label-active = " %name% " +label-empty = " %name% " +label-urgent = " %name% " -label-empty-foreground = #969696 +label-active-background = ${colors.primary} +label-empty-foreground = #a2a2a2 [module/xwindow] type = internal/xwindow label = %title% -format-padding = 4 -format-background = #a85454 +format-padding = 3 +format-background = ${colors.primary} [module/xkeyboard] type = internal/xkeyboard