/
polybar.ini
58 lines (48 loc) · 1.11 KB
/
polybar.ini
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
; note: we can get x resources like so:
; https://github.com/polybar/polybar/wiki/Configuration#referencing-values
[bar/top]
enable-ipc = true
modules-left = i3
modules-right = cpu battery backlight date
; fc-list to get names
font-0 = Iosevka:size=16
font-1 = Openmoji Color:size=16
background = #88000000
foreground = #ffffffff
padding = 1
module-margin = 1
height = 40
[module/backlight]
type = internal/backlight
card = intel_backlight
format = <ramp>
ramp-0 = 🌕
ramp-1 = 🌔
ramp-2 = 🌓
ramp-3 = 🌒
ramp-4 = 🌑
[module/battery]
type = internal/battery
full-at = 89
; see formatting options at https://github.com/polybar/polybar/wiki/Module:-battery
[module/cpu]
type = internal/cpu
format = <label> <ramp-coreload>
label = CPU %percentage%%
; Spacing between individual per-core ramps
ramp-coreload-spacing = 0
ramp-coreload-0 = ▁
ramp-coreload-1 = ▂
ramp-coreload-2 = ▃
ramp-coreload-3 = ▄
ramp-coreload-4 = ▅
ramp-coreload-5 = ▆
ramp-coreload-6 = ▇
ramp-coreload-7 = █
[module/date]
type = internal/date
date = %A, %B %d, %Y%
time = %I:%M %p%
label = %date% %time%
[module/i3]
type = internal/i3