-
Notifications
You must be signed in to change notification settings - Fork 0
/
chocolate.ini
299 lines (243 loc) · 6.93 KB
/
chocolate.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
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
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; To learn more about how to configure Polybar
; go to https://github.com/polybar/polybar
;
; The README contains a lot of information
;
;==========================================================
[colors]
background = ${xrdb:color0:#222}
;background = #22262a
background-alt = #22262a
foreground = ${xrdb:color7:#222}
;foreground = #ffffff
foreground-alt = ${xrdb:color7:#222}
;foreground-alt = #8e9aa4
primary = ${xrdb:color1:#222}
;primary = #ff0000
secondary = ${xrdb:color2:#222}
;secondary = #fcedc5
alert = ${xrdb:color3:#222}
;alert = #ff6666
[bar/main]
;monitor = ${env:MONITOR:HDMI-1}
width = 1630
height = 35
offset-x = 25
offset-y = 25
radius = 0
fixed-center = true
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 0
line-color = #f00
border-size = 3
border-color = ${xrdb:color1:#222}
;border-color = #d9d9d9
padding-left = 5
padding-right = 5
module-margin-left = 3
module-margin-right = 3
font-0 = SF Pro Display:style=Bold:size=10:antialias=true;2
font-1 = unifont:fontformat=truetype:size=8:antialias=false;2
font-2 = siji:pixelsize=10;2
font-3 = FontAwesome 5 Free:size=10:style=Solid;2
font-4 = Material Icons:style=Regular;2
font-5 = Weather Icons:size=10;2
font-6 = Font Awesome 5 Brands:pixelsize=10;2
font-7 = Font Awesome 5 Free:pixelsize=10;2
modules-left = menu spotify_status mpd
modules-center = bspwm
modules-right = pulseaudio skb date poweroff
tray-position = none
tray-background = ${colors.background}
tray-padding = 5
tray-offset-x = 0
tray-offset-y = 0
tray-maxsize = 16
tray-transparent = false
wm-restack = bspwm
;wm-restack = i3
override-redirect = true
;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev
;scroll-up = i3wm-wsnext
;scroll-down = i3wm-wsprev
cursor-click = pointer
cursor-scroll = ns-resize
; Active modules
[module/bspwm]
type = internal/bspwm
ws-icon-0 = web;
ws-icon-1 = code;
ws-icon-2 = media;
ws-icon-3 = edit;
ws-icon-4 = graphics;
ws-icon-5 = other;
ws-icon-default =
label-focused = %icon%
label-focused-foreground = ${xrdb:color1:#222}
label-focused-background = ${colors.background}
label-focused-underline= ${colors.primary}
label-focused-padding = 2
label-occupied = %icon%
label-occupied-foreground = ${xrdb:color7:#222}
label-occupied-padding = 2
label-urgent = %icon%
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %icon%
label-empty-foreground = #4a4a4a
label-empty-padding = 2
; Separator in between workspaces
;label-separator = |
;label-separator-padding = 2
;label-separator-foreground = #ffb52a
[module/menu]
type = custom/menu
expand-right = true
format-spacing = 1
label-separator = " "
format = <label-toggle><menu>
label-open = ""
label-close = ""
label-open-foreground = ${xrdb:color2:#222}
label-close-foreground = ${xrdb:color2:#222}
menu-0-0 = "App Menu"
menu-0-0-exec = rofi -show drun -width 30 -lines 20 -location 1 -xoffset 25 -yoffset 91 -columns 2
menu-0-1 = "Browsers"
menu-0-1-exec = menu-open-1
menu-0-2 = "Chats"
menu-0-2-exec = menu-open-2
menu-0-3 = "Edit"
menu-0-3-exec = menu-open-3
menu--4 = "Graphics"
menu-0-4-exec = menu-open-4
menu-1-0 = "Chromium"
menu-1-0-exec = chromium &
menu-1-1 = "Firefox"
menu-1-1-exec = firefox &
menu-2-0 = "Telegram"
menu-2-0-exec = telegram-desktop &
menu-2-1 = "Discord"
menu-2-1-exec = discord &
menu-3-0 = "VIM"
menu-3-0-exec = urxvt -e vim &
menu-3-1 = "Sublime Text"
menu-3-1-exec = subl3 &
menu-4-0 = "GIMP"
menu-4-0-exec = gimp &
menu-4-1 = "Inkscape"
menu-4-1-exec = Inkscape &
[module/spotify_status]
type = custom/script
format-prefix = " "
format-prefix-foreground = ${xrdb:color3:#222}
interval = 1
format = <label>
exec = python /home/ma/scripts/polybar/spotify_status.py -f '{artist} - {song}'
[module/mpd]
type = internal/mpd
format-online = <label-song>
;format-offline = <label-offline>
label-offline = mpd is offline
interval = 1
label-song = %artist% - %title%
label-song-maxlen = 35
label-song-ellipsis = true
icon-prev =
icon-stop =
icon-play =
icon-pause =
icon-next =
[module/openweathermap]
type = custom/script
exec = /home/ma/scripts/polybar/openweathermap-simple.sh
interval = 600
label-font = 6
[module/skb]
type = custom/script
exec = skb
tail = true
interval = 0.5
format-prefix = " "
format-prefix-foreground = ${xrdb:color5:#222}
[module/date]
type = internal/date
interval = 5
label = %time%
format-prefix = " "
format-prefix-foreground = ${xrdb:color3:#222}
;date = %d/%m
date-alt = %A, %d/%m/%Y
time = %H:%M
time-alt = %A, %d/%m/%Y
[module/pulseaudio]
type = internal/pulseaudio
;format-volume = <label-volume> <bar-volume>
format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%%
label-volume-foreground = ${root.foreground}
; Only applies if <ramp-volume> is used
ramp-volume-0 =
ramp-volume-1 =
ramp-volume-2 =
ramp-volume-foreground = ${xrdb:color4:#222}
label-muted = muted
label-muted-foreground = #666
[module/poweroff]
type = custom/script
exec = echo " "
click-left = "~/scripts/power.sh"
format-prefix = ""
format-prefix-foreground = ${xrdb:color2:#222}
; Inactive modules
[module/clipboard]
type = custom/script
exec = echo ""
click-left = "~/scripts/clipboard.sh"
[module/xwindow]
format = <label>
type = internal/xwindow
label = %title:0:45:...%
format-foreground = #b8bfc6
[module/xkeyboard]
label-layout = %layout%
type = internal/xkeyboard
blacklist-0 = num lock
format-prefix-foreground = ${colors.foreground-alt}
label-indicator-padding = 0
label-indicator-margin = 0
label-indicator-background = ${colors.secondary}
[module/right-corner]
type = custom/text
content = " "
content-background = ${colors.background}
content-padding = 0
[module/left-corner]
type = custom/text
content = " "
content-background = ${colors.background}
content-padding = 0
; Other
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
;pseudo-transparency = false
[global/wm]
margin-top = 5
margin-bottom = 5
; vim:ft=dosini0