Update polybar config
This commit is contained in:
parent
1cbdce3a77
commit
dd1525e528
1 changed files with 15 additions and 9 deletions
|
@ -46,7 +46,7 @@ padding-left = 0
|
||||||
padding-right = 2
|
padding-right = 2
|
||||||
|
|
||||||
module-margin-left = 1
|
module-margin-left = 1
|
||||||
module-margin-right = 2
|
module-margin-right = 0
|
||||||
|
|
||||||
font-0 = monospace:pixelsize=10;1
|
font-0 = monospace:pixelsize=10;1
|
||||||
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||||
|
@ -55,7 +55,7 @@ font-3 = OpenSymbol:size=10
|
||||||
|
|
||||||
modules-left = dwm
|
modules-left = dwm
|
||||||
modules-center = player-mpris-tail
|
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-position = right
|
||||||
tray-padding = 5
|
tray-padding = 5
|
||||||
|
@ -113,8 +113,8 @@ secondary-layout-symbol = [M]
|
||||||
label-title = %title%
|
label-title = %title%
|
||||||
label-title-padding = 0
|
label-title-padding = 0
|
||||||
label-title-forefround = ${colors.primary}
|
label-title-forefround = ${colors.primary}
|
||||||
label-title-maxlen = 80
|
label-title-maxlen = 40
|
||||||
label-title-minlen = 80
|
label-title-minlen = 40
|
||||||
label-title-alignment = left
|
label-title-alignment = left
|
||||||
|
|
||||||
label-layout = %symbol%
|
label-layout = %symbol%
|
||||||
|
@ -282,14 +282,20 @@ bar-volume-empty-foreground = ${colors.foreground-alt}
|
||||||
[module/battery]
|
[module/battery]
|
||||||
type = internal/battery
|
type = internal/battery
|
||||||
battery = BAT0
|
battery = BAT0
|
||||||
adapter = ADP1
|
adapter = AC0
|
||||||
full-at = 98
|
full-at = 90
|
||||||
|
low-at = 10
|
||||||
|
time-format = %H:%M
|
||||||
|
|
||||||
format-charging = <animation-charging> <label-charging>
|
|
||||||
format-charging-underline = #ffb52a
|
format-charging-underline = #ffb52a
|
||||||
|
#format-charging = <animation-charging> <label-charging>
|
||||||
|
format-charging = <label-charging>
|
||||||
|
label-charging = %percentage%% 🔌 %time%
|
||||||
|
|
||||||
format-discharging = <animation-discharging> <label-discharging>
|
format-discharging = <label-discharging>
|
||||||
|
#format-discharging = <animation-discharging> <label-discharging>
|
||||||
format-discharging-underline = ${self.format-charging-underline}
|
format-discharging-underline = ${self.format-charging-underline}
|
||||||
|
label-discharging = %consumption%W %percentage%% 🔋 %time%
|
||||||
|
|
||||||
format-full-prefix = " "
|
format-full-prefix = " "
|
||||||
format-full-prefix-foreground = ${colors.foreground-alt}
|
format-full-prefix-foreground = ${colors.foreground-alt}
|
||||||
|
@ -335,7 +341,7 @@ ramp-foreground = ${colors.foreground-alt}
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = ~/.config/polybar/player-mpris-tail.py -f '{icon} {artist} - {title}'
|
exec = ~/.config/polybar/player-mpris-tail.py -f '{icon} {artist} - {title}'
|
||||||
tail = true
|
tail = true
|
||||||
label-maxlen = 50
|
label-maxlen = 40
|
||||||
|
|
||||||
[module/myip]
|
[module/myip]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
|
|
Loading…
Reference in a new issue