summaryrefslogtreecommitdiff
path: root/.config/polybar/config.ini
blob: fd5c8fa4730af5b4d13f755f723cd820c1ed2839 (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
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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
;--------;
; COLORS ;
;--------;

[colors]
nord0 =  #2e3440
nord1 =  #3b4252
nord2 =  #434c5e
nord3 =  #4c566a
nord4 =  #d8dee9
nord5 =  #e5e9f0
nord6 =  #eceff4
nord7 =  #8fbcbb
nord8 =  #88c0d0
nord9 =  #81a1c1
nord10 = #5e81ac
nord11 = #bf616a
nord12 = #d08770
nord13 = #ebcb8b
nord14 = #a3be8c
nord15 = #b48ead

background-dark = #1b1f26
background = ${colors.nord3}
background-light = ${colors.nord6}
foreground = #fff
primary = #4c566a
secondary = #f05
alert = #bd2c40
accent = #bf616a

red      = ${colors.nord11}
green    = ${colors.nord14}
orange   = ${colors.nord12}
yellow   = ${colors.nord13}
blue     = ${colors.nord10}
turkoise = ${colors.nord7}
purple   = ${colors.nord15}

battery = ${colors.yellow}
cpu     = ${colors.red}
ram     = ${colors.green}
temp    = ${colors.orange}
wifi    = ${colors.blue}
date    = ${colors.turkoise}
time    = ${colors.purple}
power   = ${colors.nord6}

[bar/external]

;------------;
; DIMENSIONS ;
;------------;

width = 100%
height = 30
offset-y = 0
offset-x = 0

border-size = 0

background = ${colors.background-dark}
foreground = ${colors.foreground}

;----------;
; LOCATION ;
;----------;

bottom = false
monitor = HDMI-A-0
override-redirect = false

;-------;
; FONTS ;
;-------;

font-0 = "TamzenForPowerline:size=12;2"
font-1 = "Font Awesome 6 Free:size=11;3"
font-2 = "Font Awesome 6 Free Solid:size=11;3"
font-3 = "Font Awesome 6 Brands:size=11;3"

;---------;
; MODULES ;
;---------;

modules-right  = cpu temperature pulseaudio date
modules-left   = battery network memory
modules-center = bspwm

[bar/laptop]

;------------;
; DIMENSIONS ;
;------------;

width = 100%
height = 30
offset-y = 0
offset-x = 0

border-size = 0

background = ${colors.background-dark}
foreground = ${colors.foreground}

;----------;
; LOCATION ;
;----------;

bottom = false
monitor = eDP
override-redirect = false

;-------;
; FONTS ;
;-------;

font-0 = "Dina:pixelsize=11;1"
font-1 = "Font Awesome 6 Free:size=10:1"
font-2 = "Font Awesome 6 Free Solid:size=10:1"
font-3 = "Font Awesome 6 Brands:size=10:1"

;---------;
; MODULES ;
;---------;

modules-right  = cpu temperature pulseaudio date
modules-left   = battery network memory
modules-center = bspwm


;---------------;
; MISCELLANEOUS ;
;---------------;

fixed-center = true
tray-position = right
tray-detached = false
module-margin-left = 1

[module/battery]
type=internal/battery

battery=BAT0
adapter=AC

poll-interval=5
full-at=98

time-format=%H:%M

label-discharging= %time% %percentage%
label-charging= %time% %percentage%
label-full=BAT0: %percentage%

label-full-foreground = ${colors.foreground}
label-full-background = ${colors.background-dark}
label-full-padding = 2

label-charging-foreground = ${colors.foreground}
label-charging-background = ${colors.background-dark}
label-charging-padding = 2

label-discharging-foreground = ${colors.foreground}
label-discharging-background = ${colors.background-dark}
label-discharging-padding = 2

format-discharging=<label-discharging>
format-charging=<label-charging>
format-full=<label-full>

[module/date]
type=internal/date
interval=1.0
date=%A %d
time=%I:%M
time-alt=%I:%M:%S %A, %d %B %Y

format=<label>
label= %date% %time%
label-foreground = ${colors.foreground}
label-background = ${colors.background-dark}
label-padding = 2

[module/temperature]
type=internal/temperature
interval=1.0
hwmon-path=${env:HWMON_PATH}
base-temperature=38
warn-temperature=70
format=<label>
format-warn=<label-warn>
label= %temperature-c%
label-warn=TEMP: %temperature-c%

label-foreground = ${colors.foreground}
label-background = ${colors.background-dark}
label-padding = 2
label-warn-foreground = ${colors.foreground}
label-warn-background = ${colors.background-dark}
label-warn-padding = 2

[module/cpu]
type=internal/cpu
interval=0.5
format=<label>
label= %percentage%%

label-foreground = ${colors.foreground}
label-background = ${colors.background-dark}
label-padding = 2

[module/memory]
type=internal/memory
interval=3
format=<label>
label= %gb_used%

label-foreground = ${colors.foreground}
label-background = ${colors.background-dark}
label-padding = 2

[module/pulseaudio]
type=internal/pulseaudio
format=<label-volume>
label-volume= %percentage%%
label-muted=
click-right=pavucontrol

label-volume-foreground = ${colors.foreground}
label-volume-background = ${colors.background-dark}
label-volume-padding = 2

label-muted-foreground = ${colors.foreground}
label-muted-background = ${colors.background-dark}
label-muted-padding = 2

[module/bspwm]

ws-icon-0 = 
type=internal/bspwm

pin-workspaces = true

format=<label-state> <label-mode>
label-focused          = 
label-focused-padding  = 2
label-occupied         = 
label-occupied-padding = 2
label-empty            = 
label-empty-padding    = 2

label-focused-foreground = ${colors.nord4}
label-focused-background = ${colors.background-dark}
label-occupied-foreground = ${colors.nord7}
label-occupied-background = ${colors.background-dark}
label-empty-foreground = ${colors.nord10}
label-empty-background = ${colors.background-dark}

[module/network]
type=internal/network
interface=wlp2s0
interval=1.0
label-connected= %local_ip%
label-disconnected=

label-connected-foreground = ${colors.foreground}
label-connected-background = ${colors.background-dark}
label-connected-padding = 2

label-disconnected-foreground = ${colors.foreground}
label-disconnected-background = ${colors.background-dark}
label-disconnected-padding = 2

; vim: set ft=dosini nomodeline: