aboutsummaryrefslogtreecommitdiffstats
path: root/dotconfig/polybar/bars
blob: 2b3947a27a6238d9d7af8d14c630e660e9a21859 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
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-suffix = 
	format-suffix-padding = 1
	format-suffix-background = ${color.teal}
	format-suffix-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-suffix = 
	format-suffix-padding = 1
	format-suffix-background = ${color.indigo}
	format-suffix-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}