diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 181462f..2316a0e 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -46,7 +46,7 @@ padding-left = 0 padding-right = 2 module-margin-left = 1 -module-margin-right = 2 +module-margin-right = 0 font-0 = monospace:pixelsize=10;1 font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 @@ -55,7 +55,7 @@ font-3 = OpenSymbol:size=10 modules-left = dwm modules-center = player-mpris-tail -modules-right = system-bluetooth-bluetoothctl xkeyboard filesystem pulseaudio cpu memory myip temperature date powermenu +modules-right = xkeyboard filesystem pulseaudio battery cpu memory temperature date powermenu tray-position = right tray-padding = 5 @@ -113,8 +113,8 @@ secondary-layout-symbol = [M] label-title = %title% label-title-padding = 0 label-title-forefround = ${colors.primary} -label-title-maxlen = 80 -label-title-minlen = 80 +label-title-maxlen = 40 +label-title-minlen = 40 label-title-alignment = left label-layout = %symbol% @@ -282,14 +282,20 @@ bar-volume-empty-foreground = ${colors.foreground-alt} [module/battery] type = internal/battery battery = BAT0 -adapter = ADP1 -full-at = 98 +adapter = AC0 +full-at = 90 +low-at = 10 +time-format = %H:%M -format-charging = format-charging-underline = #ffb52a +#format-charging = +format-charging = +label-charging = %percentage%% 🔌 %time% -format-discharging = +format-discharging = +#format-discharging = format-discharging-underline = ${self.format-charging-underline} +label-discharging = %consumption%W %percentage%% 🔋 %time% format-full-prefix = " " format-full-prefix-foreground = ${colors.foreground-alt} @@ -335,7 +341,7 @@ ramp-foreground = ${colors.foreground-alt} type = custom/script exec = ~/.config/polybar/player-mpris-tail.py -f '{icon} {artist} - {title}' tail = true -label-maxlen = 50 +label-maxlen = 40 [module/myip] type = custom/script