.config/polybar/config
[raw]
[blame]
1[colors]
2background = #00282a36
3foreground = #fff
4primary = #474e85
5foreground-alt = #555555
6alert = #c75f42
7
8[bar/top]
9height = 25
10modules-left = bspwm
11modules-right = tray audio date time
12font-0 = Source Code Pro:style=Regular:pixelsize=10
13font-1 = "Font Awesome 7 Free:style=Solid:pixelsize=10"
14
15underline-size = 2
16underline-color = #eee
17
18spacing = 1
19padding-left = 0
20padding-right = 1
21module-margin-left = 1
22module-margin-right = 1
23
24background = ${colors.background}
25foreground = ${colors.foreground}
26
27[module/date]
28type = internal/date
29label = "%date%"
30date = "%Y-%m-%d W%U"
31format-prefix = " "
32format-prefix-foreground = ${colors.foreground-alt}
33
34[module/time]
35type = internal/date
36label = "%date% %time%"
37time = %H:%M
38format-prefix = " "
39format-prefix-foreground = ${colors.foreground-alt}
40
41[module/bspwm]
42type = internal/bspwm
43
44format = <label-state> <label-mode>
45inline-mode = true
46
47label-focused-underline = ${colors.primary}
48label-urgent-underline = ${colors.alert}
49
50label-focused-padding = 1
51label-occupied-padding = 1
52label-urgent-padding = 1
53label-empty-padding = 1
54
55label-focused = %icon%
56label-occupied = %icon%
57label-empty =
58label-urgent = %icon%
59
60ws-icon-1 = 1;
61ws-icon-2 = 2;2
62ws-icon-3 = 3;3
63ws-icon-4 = 4;4
64ws-icon-5 = 5;5
65ws-icon-6 = 6;6
66ws-icon-7 = 7;7
67ws-icon-8 = 8;8
68ws-icon-9 = 9;9
69ws-icon-0 = 0;10
70ws-icon-default = ♟
71
72[module/audio]
73type = internal/pulseaudio
74label-muted = ""
75format-volume = <ramp-volume><label-volume>
76ramp-volume-0 = ""
77ramp-volume-1 = ""
78ramp-volume-2 = ""
79ramp-volume-foreground = ${colors.foreground-alt}
80label-muted-foreground = ${colors.foreground-alt}
81
82[module/wireless-network]
83type = internal/network
84interface = wlp1s0
85interface-type = wireless
86interval = 30
87format-connected = "<ramp-signal> <label-connected>"
88label-connected = %essid%
89ramp-signal-0 = ""
90ramp-signal-foreground = ${colors.foreground-alt}
91
92
93[module/battery]
94type = internal/battery
95battery = BAT0
96adapter = AC
97poll-interval = 15
98full-at = 98
99
100format-full = <ramp-capacity> <label-full>
101
102format-charging-prefix = " "
103format-charging-prefix-foreground = ${colors.foreground-alt}
104label-charging = %percentage%% (+%consumption%w)
105label-discharging = %percentage%% (-%consumption%w)
106label-full = %percentage%%
107
108ramp-capacity-0 =
109ramp-capacity-1 =
110ramp-capacity-2 =
111ramp-capacity-3 =
112ramp-capacity-4 =
113ramp-capacity-foreground = ${colors.foreground-alt}
114format-discharging = <ramp-capacity> <label-discharging>
115
116[module/tray]
117type = internal/tray
118
119; vim:ft=dosini