-
Notifications
You must be signed in to change notification settings - Fork 1
/
config
232 lines (191 loc) · 5.46 KB
/
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
[colors]
;background = #ad222322
background = #1c1c1c
background-alt = #444
foreground = #c6c6c6
foreground-alt = #555
primary = #c6c6c6
secondary = #e60053
alert = #bd2c40
[bar/example]
width = 100%
height = 27
fixed-center = false
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 1
line-color = #adae89
border-size = 0
border-color = #00000000
bottom = false
module-margin-left = 1
module-margin-right = 1
font-0 = "Fira Code Semibold:size=10;2"
font-1 = "FiraCode Nerd Font Mono:size=18;4"
;clock
font-2 = "FiraCode Nerd Font Mono:size=18;1"
;filesystem
font-3 = "FiraCode Nerd Font Mono:size=16;2"
;battery
font-4 = "FiraCode Nerd Font Mono:size=12;2"
modules-left = i3
modules-center = xwindow
modules-right = date wlan eth xbacklight alsa battery
tray-position = right
cursor-click = pointer
cursor-scroll = ns-resize
padding = 1
[module/xwindow]
type = internal/xwindow
label = %title:0:75:...%
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /
format-mounted = <label-mounted>
format-mounted-underline = #44ff44
label-mounted = %{T4}%{T-} %used% (%total%)
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.foreground-alt}
[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 = 2
; unfocused = Inactive workspace on any monitor
label-unfocused = %index%
label-unfocused-padding = 2
; visible = Active workspace on unfocused monitor
label-visible = %index%
label-visible-background = ${self.label-focused-background}
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 = 2
; Separator in between workspaces
; label-separator = |
[module/xbacklight]
type = internal/xbacklight
format = <ramp> <label>
format-underline = ${colors.primary}
label = %percentage%%
ramp-0 =
ramp-1 =
ramp-2 =
[module/cpu]
type = internal/cpu
interval = 1
format-underline = #FFFF00
label = %percentage:2%%
[module/memory]
type = internal/memory
interval = 1
format-underline = #8B008B
label = %gb_used:0:6:B% (%gb_total:0:6:B%)
[module/wlan]
type = internal/network
interface = wlo1
interval = 1
format-connected = <label-connected>
format-connected-underline = ${colors.primary}
label-connected = 直 %essid%
format-disconnected = <label-disconnected>
format-disconnected-underline = ${self.format-connected-underline}
label-disconnected = 睊 disconnected
[module/eth]
type = internal/network
interface = eno1
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
[module/date]
type = internal/date
interval = 1
date = %{T2}%{T-} %d-%m-%y
time = %{T2}%{T-} %I:%M:%S %p
format-underline = ${colors.primary}
label = %time% %date%
[module/alsa]
type = internal/alsa
format-volume = <label-volume>
format-volume-underline = ${colors.primary}
mapped = true
label-volume = 墳 %percentage%%
format-muted= ﱝ
format-muted-underline = ${self.format-volume-underline}
[module/battery]
type = internal/battery
battery = BAT1
adapter = ACAD
full-at = 96
format-charging = <animation-charging> <label-charging>
label-charging = %percentage%%
format-charging-underline = ${colors.primary}
format-discharging = <ramp-capacity> <label-discharging>
label-discharging = %percentage%%
format-discharging-underline = ${self.format-charging-underline}
ramp-capacity-0 = %{T5}%{T-}
ramp-capacity-1 = %{T5}%{T-}
ramp-capacity-2 = %{T5}%{T-}
ramp-capacity-3 = %{T5}%{T-}
ramp-capacity-4 = %{T5}%{T-}
format-full = <label-full>
label-full = %{T5}%{T-} %percentage%%
format-full-underline = ${self.format-charging-underline}
animation-charging-0 = ${self.ramp-capacity-0}
animation-charging-1 = ${self.ramp-capacity-1}
animation-charging-2 = ${self.ramp-capacity-2}
animation-charging-3 = ${self.ramp-capacity-3}
animation-charging-4 = ${self.ramp-capacity-4}
animation-charging-framerate = 750
[module/powermenu]
type = custom/menu
expand-right = true
format-spacing = 1
label-open =
label-open-foreground = ${colors.secondary}
label-close = cancel
label-close-foreground = ${colors.secondary}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot
menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
[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