From d0d13143a5d724fcc5a170220d4aca59223cd25f Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Fri, 13 Mar 2020 14:02:41 +0100 Subject: [PATCH] Cleaned up polybar config --- polybar/.config/polybar/config | 117 ++++++++------------------------- 1 file changed, 26 insertions(+), 91 deletions(-) diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 8553a1c..4a2a513 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -69,26 +69,6 @@ inherit = bar/base-desktop monitor = ${env:MONITOR:HDMI-2} modules-left = bspwm -[module/xwindow] -type = internal/xwindow -label = %title:0:30:...% - -[module/xkeyboard] -type = internal/xkeyboard -blacklist-0 = num lock - -format-prefix = " " -format-prefix-foreground = ${colors.foreground-alt} -format-prefix-underline = ${colors.secondary} - -label-layout = %layout% -label-layout-underline = ${colors.secondary} - -label-indicator-padding = 2 -label-indicator-margin = 1 -label-indicator-background = ${colors.secondary} -label-indicator-underline = ${colors.secondary} - [module/filesystem] type = internal/fs @@ -103,14 +83,11 @@ type = internal/bspwm label-focused-background = ${colors.primary} label-focused-padding = 2 - label-occupied-background = ${colors.background} label-occupied-padding = 2 label-empty = - label-urgent-background = ${colors.alert} label-urgent-padding = 2 - label-empty-foreground = ${colors.foreground-alt} label-empty-padding = 2 @@ -122,6 +99,8 @@ type = internal/mpd format-online = label-song = 𝄞 %artist% - %title% +label-song-maxlen = 25 +label-song-ellipsis = true icon-play = ⏵ icon-pause = ⏸ @@ -136,10 +115,6 @@ icon-repeatone = 🔂 icon-single = 🔂 icon-consume = ✀ -label-song-maxlen = 25 -label-song-ellipsis = true - -; Only applies if is used bar-progress-width = 45 bar-progress-indicator = | bar-progress-fill = ─ @@ -162,16 +137,13 @@ bar-empty = ─ bar-empty-font = 2 bar-empty-foreground = ${colors.foreground-alt} -[module/backlight-acpi] -inherit = module/xbacklight -type = internal/backlight -card = intel_backlight - [module/cpu] type = internal/cpu -format-prefix = " " -label = %percentage%% + format =