diff --git a/.config/polybar/config b/.config/polybar/config index 7235c82a..d368c36c 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -48,12 +48,15 @@ font-4 = [template/bar] ; Rendering of the bar width = 100% -height = 24 +height = 28 ; Module padding and spacing padding = 2 module-margin = 1 +line-size = 2 +line-color = ${res/colors.background-2} + ; Module colors background = ${res/colors.background} foreground = ${res/colors.foreground} @@ -69,11 +72,12 @@ font-4 = ${res/fonts.font-4} ;==================== [bar/alpha] inherit = template/bar +bottom = true tray-position = right tray-padding = 0 -border-bottom-size = 0 -border-bottom-color = ${res/colors.primary} +border-top-size = 2 +border-top-color = ${res/colors.background-2} modules-left = i3 bspwm | wlan-network eth-network | cpu-label memory-label | temperature-ramp modules-center = xwindow-label @@ -133,11 +137,8 @@ interval = 1 type = internal/network interface = wlp1s0 format-connected = -format-connected-foreground = ${res/colors.background} -format-connected-background = ${res/colors.primary} format-disconnected = -format-disconnected-foreground = ${res/colors.resource-bad} -format-disconnected-background = ${res/colors.background} +format-disconnected-overline = ${res/colors.alert} label-connected = %upspeed% %downspeed% - %signal%% label-connected-padding = 0 @@ -165,26 +166,20 @@ label-mode-background = ${res/colors.primary} ; Active workspace on focused monitor label-focused = %name% label-focused-padding = ${self.label-mode-padding} -label-focused-foreground = ${res/colors.background} -label-focused-background = ${res/colors.primary} +label-focused-overline = ${res/colors.primary} ; Active workspace on unfocused monitor label-visible = ${self.label-focused} label-visible-padding = ${self.label-focused-padding} -label-visible-foreground = ${self.label-focused-foreground} -label-visible-background = ${res/colors.primary-dark} ; Inactive workspace label-unfocused = ${self.label-focused} label-unfocused-padding = ${self.label-focused-padding} -label-unfocused-foreground = ${res/colors.foreground} -label-unfocused-background = ${res/colors.background} ; Urgent workspace label-urgent = ${self.label-focused} label-urgent-padding = ${self.label-focused-padding} -label-urgent-foreground = ${res/colors.background} -label-urgent-background = ${res/colors.alert} +label-urgent-overline = ${res/colors.alert} [module/bspwm] type = internal/bspwm @@ -211,8 +206,7 @@ ws-icon-default =  ; Active workspace on focused monitor label-focused = %icon% label-focused-padding = 2 -label-focused-foreground = ${res/colors.background} -label-focused-background = ${res/colors.primary} +label-focused-overline = ${res/colors.primary} ; Inactive filled workspace on focused monitor label-occupied = ${self.label-focused} @@ -234,28 +228,23 @@ label-dimmed-background = ${res/colors.background-4} ; Urgent workspace on any monitor label-urgent = ${self.label-focused} label-urgent-padding = ${self.label-focused-padding} -label-urgent-foreground = ${res/colors.background} -label-urgent-background = ${res/colors.alert} +label-urgent-overline = ${res/colors.alert} [module/battery-ramp] inherit = template/module/battery format-charging = +format-charging-overline = ${res/colors.primary} format-discharging = format-full = +format-full-overline = ${res/colors.primary-dark} time-format = %H:%M label-charging = %percentage%% label-charging-padding = 0 -label-charging-foreground = ${res/colors.primary} -label-charging-background = ${res/colors.background} label-discharging = %percentage%% (%time%) label-discharging-padding = 0 -label-discharging-foreground = ${res/colors.foreground} -label-discharging-background = ${res/colors.background} label-full =  %percentage%% label-full-padding = 0 -label-full-foreground = ${res/colors.primary-dark} -label-full-background = ${res/colors.background} ramp-capacity-0 =  ramp-capacity-1 =  @@ -274,8 +263,6 @@ format =