Update polybar on laptop

This commit is contained in:
Marco Thomas
2021-03-21 11:37:46 +01:00
parent 56f57ce801
commit 1a0ac5704f
3 changed files with 22 additions and 36 deletions

View File

@@ -29,7 +29,7 @@
# the top and down respectively. # the top and down respectively.
# The width can be negative. In this case the actual width is the # The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option. # screen width minus the width defined in within the geometry option.
geometry = "400x20-4+39" geometry = "400x20-6+36"
# Show how many messages are currently hidden (because of geometry). # Show how many messages are currently hidden (because of geometry).
indicate_hidden = yes indicate_hidden = yes

View File

@@ -54,7 +54,7 @@ line-size = 0
font-0 = "Product Sans:pixelsize=10:weight=regular;2" font-0 = "Product Sans:pixelsize=10:weight=regular;2"
#font-1 = "Noto Sans CJK JP:antialiase=false:pixelsize=11;3" #font-1 = "Noto Sans CJK JP:antialiase=false:pixelsize=11;3"
font-1 = "Stick:pixelsize=13;3" font-1 = "Stick:pixelsize=13;3"
font-2 = "Material Design Icons:size=10;2" font-2 = "Material Design Icons:size=10;3"
wm-restack = i3 wm-restack = i3
@@ -67,7 +67,7 @@ inherit = bar/main
bottom = true bottom = true
modules-left = xwindow modules-left = memory cpu
modules-center = modules-center =
modules-right = modules-right =
@@ -153,47 +153,31 @@ type = internal/battery
battery = BAT0 battery = BAT0
apdapter = ADP1 apdapter = ADP1
format-charging = <animation-charging> <label-charging> bar-capacity-width = 10
label-charging = %percentage%% bar-capacity-indicator =
animation-charging-foreground = ${colors.accent} bar-capacity-fill = ━
format-charging-underline = ${colors.yellow} bar-capacity-empty = ━
format-discharging = <ramp-capacity> <label-discharging> bar-capacity-fill-foreground = ${colors.green}
format-discharging = 󰋑 <bar-capacity>
label-discharging = %percentage%% label-discharging = %percentage%%
format-discharging-overline = ${colors.cyan}
format-full = <ramp-capacity> <label-full> format-charging = <animation-charging> <bar-capacity>
label-full = %percentage%% label-charging = %percentage%%
format-full-underline = ${colors.green}
#ramp-capacity-foreground = ${colors.accent} format-full = 󰋑 <bar-capacity>
ramp-capacity-0 = 󰁺
ramp-capacity-1 = 󰁻
ramp-capacity-2 = 󰁼
ramp-capacity-3 = 󰁽
ramp-capacity-4 = 󰁾
ramp-capacity-5 = 󰁿
ramp-capacity-6 = 󰂀
ramp-capacity-7 = 󰂁
ramp-capacity-8 = 󰂂
ramp-capacity-9 = 󰁹
animation-charging-0 = 󰢜 animation-charging-0 = 󰋑
animation-charging-1 = 󰂇 animation-charging-1 = 󰋕
animation-charging-2 = 󰂇 animation-charging-framerate = 1000
animation-charging-3 = 󰂈
animation-charging-4 = 󰢝
animation-charging-5 = 󰂉
animation-charging-6 = 󰢞
animation-charging-7 = 󰂊
animation-charging-8 = 󰂋
animation-charging-9 = 󰂅
animation-charging-framerate = 200
[module/volume] [module/volume]
type = internal/pulseaudio type = internal/pulseaudio
format-volume = <bar-volume> format-volume = <bar-volume>
interval = 2
label-volume = %percentage%% label-volume = %percentage%%
format-volume-prefix = "󰕾 " format-volume-prefix = "󰕾 "
@@ -232,8 +216,9 @@ bar-load-indicator =
bar-load-fill = ━ bar-load-fill = ━
bar-load-empty = ━ bar-load-empty = ━
bar-load-fill-foreground = ${colors.magenta}
bar-load-width = 10 bar-load-width = 10
bar-load-foreground = ${colors.green}
format-prefix = "󰌣 " format-prefix = "󰌣 "
@@ -247,8 +232,9 @@ bar-used-indicator =
bar-used-fill = ━ bar-used-fill = ━
bar-used-empty = ━ bar-used-empty = ━
bar-used-fill-foreground = ${colors.yellow}
bar-used-width = 10 bar-used-width = 10
bar-used-foreground = ${colors.yellow}
format-prefix = "󰍛 " format-prefix = "󰍛 "

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 1.9 MiB