-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot.config-polybar-config
256 lines (192 loc) · 5.13 KB
/
dot.config-polybar-config
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
# -*- conf -*-
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
green = #00ff00
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
[bar/top]
width = 100%
height = 20
radius = 3.0
fixed-center = false
monitor = HDMI-0
dpi = -1
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3
line-color = #f00
border-size = 4
border-color = #00000000
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 1
font-0 = "Source Code Pro Medium:size=11;1"
font-1 = "Font Awesome 5 Free:size=11;2"
font-2 = "Font Awesome 5 Free Solid:size=11;2"
modules-left = i3
modules-center = mpd
modules-right = pulseaudio xkeyboard filesystem memory cpu loadavg eth temperature date
tray-position = right
tray-padding = 0
tray-maxsize = 1000
wm-restack = i3
scroll-up = i3wm-wsnext
scroll-down = i3wm-wsprev
cursor-click = pointer
cursor-scroll = ns-resize
[module/loadavg]
type = custom/script
exec = cut -d' ' -f-3 /proc/loadavg
format-prefix = " "
format-underline = #ffb52a
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format = <label-layout><label-indicator>
format-prefix = " "
format-prefix-underline = ${colors.secondary}
label-layout = %name%
label-layout-underline = ${colors.secondary}
label-indicator-background = ${colors.alert}
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /
label-mounted = %free%
format-mounted-underline = #0a81f5
format-mounted-prefix = " "
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
; Only show workspaces on the same output as the bar
;pin-workspaces = true
label-mode-padding = 2
label-mode-foreground = #000
label-mode-background = ${colors.primary}
; focused = Active workspace on focused monitor
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused-padding = 1
; unfocused = Inactive workspace on any monitor
label-unfocused = %index%
label-unfocused-padding = 1
; visible = Active workspace on unfocused monitor
label-visible = %index%
label-visible-background = ${self.label-focused-background}
label-visible-underline = ${colors.secondary}
label-visible-padding = ${self.label-focused-padding}
; urgent = Workspace with urgency hint set
label-urgent = %index%
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
[module/backlight-acpi]
type = internal/backlight
card = intel_backlight
format-prefix = " "
format-underline = #4bffdc
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-underline = ${colors.secondary}
label = %percentage:2%%
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-underline = #4bffdc
label = %gb_used%
[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0
format-connected = <label-connected>
format-connected-underline = #9f78e1
label-connected = " %essid% %signal%%"
label-disconnected = ""
format-disconnected-foreground = #666
format-disconnected-underline = #9f78e1
[module/eth]
type = internal/network
interface = enp6s0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
label-connected = %local_ip%
format-disconnected =
[module/date]
type = internal/date
interval = 1
date-alt = ""
date = " %a %Y-%m-%d"
time-alt = %H:%M
time = %H:%M:%S
format-prefix =
format-underline = #0a6cf5
label = %date% %time%
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <ramp-volume> <label-volume>
ramp-volume-0 =
ramp-volume-1 =
ramp-volume-2 =
label-volume = %percentage%%
label-muted =
label-muted-foreground = #666
click-right = pavucontrol
[module/battery]
type = internal/battery
full-at = 98
format-charging = <animation-charging> <label-charging>
format-charging-underline = #ffb52a
format-discharging = <animation-discharging> <label-discharging>
format-discharging-underline = ${self.format-charging-underline}
format-full-prefix = " "
format-full-prefix-foreground = ${colors.green}
format-full-underline = ${self.format-charging-underline}
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-foreground = ${colors.green}
animation-charging-framerate = 1000
animation-discharging-0 =
animation-discharging-1 =
animation-discharging-2 =
animation-discharging-framerate = 1000
label-full = %percentage%% %consumption%W
label-charging = %percentage%% %consumption%W %time%
label-discharging = ${self.label-charging}
time-format = %H:%M
[module/temperature]
type = internal/temperature
thermal-zone = 0
base-temperature = 20
format = <ramp> <label>
format-underline = #f50a4d
format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline}
label = %temperature-c%
label-warn = %temperature-c%
label-warn-foreground = ${colors.secondary}
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
[global/wm]
margin-top = 5
margin-bottom = 5
; vim:ft=dosini