summaryrefslogtreecommitdiffstats
path: root/.config/polybar/config##desktop.Linux.Lowe
blob: 4cc63d76d253c8ce21b2ab29a18bfa5665cb45f2 (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
;==========================================================
;
;   ██████╗  ██████╗ ██╗  ██╗   ██╗██████╗  █████╗ ██████╗
;   ██╔══██╗██╔═══██╗██║  ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
;   ██████╔╝██║   ██║██║   ╚████╔╝ ██████╔╝███████║██████╔╝
;   ██╔═══╝ ██║   ██║██║    ╚██╔╝  ██╔══██╗██╔══██║██╔══██╗
;   ██║     ╚██████╔╝███████╗██║   ██████╔╝██║  ██║██║  ██║
;   ╚═╝      ╚═════╝ ╚══════╝╚═╝   ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝
;
;==========================================================

[colors]
background = #0c1014
background_alt = #0a3749
background_modules = #fbf1c7
foreground = #d3ebe9
foreground_alt = #99d1ce
foreground_modules = #282828
red = #9d0006
green = #427b58
yellow = #b56714
blue = #458588
purple = #8f3f71
aqua = #689d6a
orange = #d65d0e
primary = #d26937
secondary = #888ca6
alert = #c23127

[bar/top]
monitor =
width = 100%
height = 20
offset-x = 0
offset-y = 0
radius = 0
fixed-center = true

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

border-top-size = 0
border-bottom-size = 0
border-top-color = ${colors.background}
border-bottom-color = ${colors.background}

padding = 2
module-margin = 1

font-0 = scientifica:antialias=false;0
font-1 = Lato:size=10;1
font-2 = Raleway:size=10;1
font-3 = FuraCode Nerd Font:size=11;2

modules-left = i3 pulseaudio
modules-center = xwindow
modules-right = focus date time xkeyboard

tray-position = right

[module/focus]
type = custom/script
exec = ~/.config/polybar/focus
interval = 10

format-online = <toggle> <label-song> <icon-random>
label-song = %artist:0:24:...% - %title:0:24:...%
icon-pause = 
icon-play = 
icon-random = 咽

toggle-on-foreground = ${colors.background_modules}
toggle-off-foreground = ${colors.foreground_modules}

format-offline = <label-offline>
label-offline = mpd is offline

[module/xwindow]
type = internal/xwindow
format = <label>
label = %title:0:70:...%

y-offset = 10
label-padding = 1
label-font = 1

label-empty = ﳓ
label-empty-font = 4
label-empty-padding = 5

[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
blacklist-1 = scroll lock

format = <label-layout> <label-indicator>
format-spacing = 0

format-prefix = 
format-prefix-padding = 1
format-prefix-background = ${colors.blue}
format-prefix-foreground = ${colors.foreground}
format-prefix-font = 4

label-layout = %layout%
label-layout-padding = 1
label-layout-background = ${colors.background_modules}
label-layout-foreground = ${colors.foreground_modules}

label-indicator-padding = 2
label-indicator-margin =
label-indicator-background = ${colors.alert}

[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
strip-wsnumbers = true

label-mode-background = ${colors.background_modules}
label-mode-foreground = ${colors.foreground_modules}
label-mode-padding = 2

label-focused = %name%
label-focused-background = ${colors.red}
label-focused-foreground = ${colors.background_modules}
label-focused-padding = 1

label-unfocused = %name%
label-unfocused-background = ${colors.background_modules}
label-unfocused-foreground = ${colors.foreground_modules}
label-unfocused-padding = 1

label-visible = %name%
label-visible-background = ${colors.background_modules}
label-visible-foreground = ${colors.foreground_modules}
label-visible-padding = 1

label-urgent = %index%
label-urgent-background = ${colors.alert}
label-urgent-foreground = ${colors.background}
label-urgent-padding = 1

[module/download]
type = internal/network
interface = enp1s0
interval = 3.0

format-connected = <label-connected>

format-connected-prefix = 
format-connected-prefix-padding = 1
format-connected-prefix-background = ${colors.green}
format-connected-prefix-foreground = ${colors.foreground}

label-connected =  %downspeed%
label-connected-background = ${colors.background_modules}
label-connected-foreground = ${colors.foreground_modules}
label-connected-padding = 1

format-disconnected = <label-disconnected>
label-disconnected = %ifname% disconnected 

[module/upload]
type = internal/network
interface = enp1s0
interval = 3.0

format-connected = <label-connected>

format-connected-prefix = 
format-connected-prefix-padding = 1
format-connected-prefix-background = ${colors.yellow}
format-connected-prefix-foreground = ${colors.foreground}

label-connected = %upspeed%
label-connected-background = ${colors.background_modules}
label-connected-foreground = ${colors.foreground_modules}
label-connected-padding = 1

[module/date]
type = internal/date
interval = 1

date = %Y-%m-%d %A
label = %date%
format = <label>

format-prefix = 
format-prefix-background = ${colors.orange}
format-prefix-foreground = ${colors.foreground}
format-prefix-font = 4
format-prefix-padding = 1

label-background = ${colors.background_modules}
label-foreground = ${colors.foreground_modules}
label-padding = 1

[module/time]
type = internal/date
interval = 1

time = %H:%M
label = %time%
format = <label>

format-prefix = 
format-prefix-background = ${colors.secondary}
format-prefix-foreground = ${colors.foreground}
format-prefix-font = 4
format-prefix-padding = 1

label-background = ${colors.background_modules}
label-foreground = ${colors.foreground_modules}
label-padding = 1

[module/pulseaudio]
type = internal/pulseaudio
interval = 5

format-volume = <label-volume>

format-volume-prefix = ♫
format-volume-prefix-background = ${colors.purple}
format-volume-prefix-foreground = ${colors.background_modules}
format-volume-prefix-font = 4
format-volume-prefix-padding = 1

label-volume = %percentage%
label-volume-background = ${colors.background_modules}
label-volume-foreground = ${colors.foreground_modules}
label-volume-padding = 1

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

[settings]
screenchange-reload = true
compositing-background = source
compositing-foreground = source
compositing-border = over
pseudo-transparency = false

[global/wm]
margin-top = 5
margin-bottom = 5

; vim:ft=dosini