summaryrefslogtreecommitdiff
path: root/.config/polybar/config
blob: fe410b1243076e98d5ed6b915c69cd3c029d2283 (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
[colors]
;background = ${xrdb:color0:#222}
;background = #10152c
;background = #080f1f
background = #090809
background-alt = #1b2f60
;foreground = ${xrdb:color7:#222}
foreground = #dfdfdf
foreground-alt = #254183
primary = #ffb52a
secondary = #e60053
alert = #bd2c40



[bar/bar1]
monitor = DP-2
width = 100%
height = 28
;offset-x = 1%
;offset-y = 1%
radius = 0
fixed-center = false
bottom = true

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

line-size = 0
line-color = #f00

border-size = 0
border-color = #00000000

padding-left = 0
padding-right = 2   

module-margin-left = 0
module-margin-right = 4

font-0 = Averia Libre:style=bold:size=15;3.6
font-1 = Font Awesome 5 Free Regular:size=14;4.5
font-2 = Font Awesome 5 Free Solid:size=14;4.5

modules-left = i3
modules-center =
modules-right = xkeyboard pulseaudio date

tray-position = right
tray-padding = 2
;tray-background = #0063ff

cursor-click = pointer
cursor-scroll = ns-resize

enable-ipc = true



[bar/bar2]
monitor = DP-4.8
width = 100%
height = 28
;offset-x = 1%
;offset-y = 1%
radius = 0
fixed-center = false
bottom = true

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

line-size = 0
line-color = #f00

border-size = 0
border-color = #00000000

padding-left = 0
padding-right = 0   

module-margin-left = 1
module-margin-right = 2

font-0 = Averia Libre:style=bold:size=15;3.6

modules-left = i3
modules-center = 
modules-right = date2

tray-position = none
tray-padding = 2
;tray-background = #0063ff

cursor-click = pointer
cursor-scroll = ns-resize

enable-ipc = true



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

;format-prefix = "    "
;format-prefix-foreground = ${colors.foreground}
;format-prefix-background = ${colors.background-alt}

label-layout = "%layout% "
;label-layout-background = ${colors.background-alt}

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



[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 = 3
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 = 3

; unfocused = Inactive workspace on any monitor
label-unfocused = %index%
label-unfocused-padding = 3

; visible = Active workspace on unfocused monitor
label-visible = %index%
label-visible-background = #0f1b36
label-visible-underline = ${self.label-focused-underline}
label-visible-padding = ${self.label-focused-padding}

; urgent = Workspace with urgency hint set
label-urgent = %index%
label-urgent-background = ${colors.alert}
label-urgent-padding = 3

label-separator = " " 

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

date-alt = ""
date = " %a, %d %b "

time-alt = %H:%M
time = %H:%M

label = "%date%%time%  " 

[module/date2]
type = internal/date
interval = 5

date = ""
date-alt = " %a, %d %b "

time = %H:%M
time-alt = %H:%M

label = "%date%%time%  " 


[module/pulseaudio]
type = internal/pulseaudio

format-volume = <label-volume> 

label-volume = "  %percentage%"
label-volume-foreground = ${root.foreground}
;label-volume-background = ${colors.background-alt}

label-muted = "  muted"
label-muted-foreground = #999
;label-muted-background = ${colors.background-alt}



[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=dosini