diff options
Diffstat (limited to 'dotconfig/polybar/bars')
-rw-r--r-- | dotconfig/polybar/bars | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/dotconfig/polybar/bars b/dotconfig/polybar/bars new file mode 100644 index 0000000..2a137d2 --- /dev/null +++ b/dotconfig/polybar/bars @@ -0,0 +1,106 @@ +[bar] + fill = + empty = + indicator = + +[module/cpu_bar] + type = internal/cpu + + ; Seconds to sleep between updates + interval = 1 + + ; Available tags: + ; <label> (default) + ; <bar-load> + ; <ramp-load> + ; <ramp-coreload> + format = <bar-load><label> + format-prefix = + format-prefix-padding = 1 + format-prefix-background = ${color.teal} + format-prefix-foreground = ${color.foreground} + format-background = ${color.background-alt} + format-foreground = ${color.foreground} + format-overline = ${color.background} + format-underline = ${color.background} + + ; Available tokens: + ; %percentage% (default) - total cpu load averaged over all cores + ; %percentage-sum% - Cumulative load on all cores + ; %percentage-cores% - load percentage for each core + ; %percentage-core[1-9]% - load percentage for specific core + label = "%percentage%% " + + ; Only applies if <bar-load> is used + bar-load-format = " %fill%%indicator%%empty% " + bar-load-width = 10 + bar-load-gradient = false + + bar-load-indicator = ${bar.indicator} + bar-load-indicator-foreground = ${color.foreground} + + bar-load-fill = ${bar.fill} + bar-load-foreground-0 = ${color.foreground} + bar-load-foreground-1 = ${color.foreground} + bar-load-foreground-2 = ${color.foreground} + + bar-load-empty = ${bar.empty} + bar-load-empty-foreground = ${color.gray} + +[module/memory_bar] + type = internal/memory + + ; Seconds to sleep between updates + interval = 2 + + ; Available tags: + ; <label> (default) + ; <bar-used> + ; <bar-free> + ; <ramp-used> + ; <ramp-free> + ; <bar-swap-used> + ; <bar-swap-free> + ; <ramp-swap-used> + ; <ramp-swap-free> + format = <bar-used><label> + format-prefix = + format-prefix-padding = 1 + format-prefix-background = ${color.indigo} + format-prefix-foreground = ${color.foreground} + format-background = ${color.background-alt} + format-foreground = ${color.foreground} + format-overline = ${color.background} + format-underline = ${color.background} + + ; Available tokens: + ; %percentage_used% (default) + ; %percentage_free% + ; %gb_used% + ; %gb_free% + ; %gb_total% + ; %mb_used% + ; %mb_free% + ; %mb_total% + ; %percentage_swap_used% + ; %percentage_swap_free% + ; %mb_swap_total% + ; %mb_swap_free% + ; %mb_swap_used% + ; %gb_swap_total% + ; %gb_swap_free% + ; %gb_swap_used% + label = "%mb_used% " + + ; Only applies if <bar-used> is used + bar-used-format = " %fill%%indicator%%empty% " + bar-used-width = 10 + bar-used-gradient = false + bar-used-indicator = ${bar.indicator} + bar-used-indicator-foreground = ${color.foreground} + bar-used-foreground-0 = ${color.foreground} + bar-used-foreground-1 = ${color.foreground} + bar-used-foreground-2 = ${color.foreground} + bar-used-fill = ${bar.fill} + bar-used-empty = ${bar.empty} + bar-used-empty-foreground = ${color.gray} |