irongit
428 lines11 KB
1//* ---- 💫 https://github.com/JaKooLit 💫 ---- *//
2/* Waybar Modules */
3
4/* NOTE: hyprland-workspaces, Custom Modules, Custom Vertical & Groups on a separate files */
5
6{
7
8"temperature": {
9 "interval": 10,
10 "tooltip": true,
11 "hwmon-path": [
12 "/sys/class/hwmon/hwmon1/temp1_input",
13 "/sys/class/thermal/thermal_zone0/temp"
14 ],
15 //"thermal-zone": 0,
16 "critical-threshold": 82,
17 "format-critical": "{temperatureC}°C {icon}",
18 "format": "{temperatureC}°C {icon}",
19 "format-icons": [
20 "󰈸"
21 ],
22 "on-click-right": "$HOME/.config/hypr/scripts/WaybarScripts.sh --nvtop"
23},
24
25"backlight": {
26 "interval": 2,
27 "align": 0,
28 "rotate": 0,
29 //"format": "{icon} {percent}%",
30 "format-icons": [
31 " ",
32 " ",
33 " ",
34 "󰃝 ",
35 "󰃞 ",
36 "󰃟 ",
37 "󰃠 "
38 ],
39 "format": "{icon}",
40 //"format-icons": ["","","","","","","","","","","","","","",""],
41 "tooltip-format": "backlight {percent}%",
42 "icon-size": 10,
43 "on-click": "",
44 "on-click-middle": "",
45 "on-click-right": "",
46 "on-update": "",
47 "on-scroll-up": "$HOME/.config/hypr/scripts/Brightness.sh --inc",
48 "on-scroll-down": "$HOME/.config/hypr/scripts/Brightness.sh --dec",
49 "smooth-scrolling-threshold": 1,
50},
51
52"backlight#2": {
53 "device": "intel_backlight",
54 "format": "{icon} {percent}%",
55 "format-icons": ["", ""]
56},
57
58"battery": {
59 //"interval": 5,
60 "align": 0,
61 "rotate": 0,
62 //"bat": "BAT1",
63 //"adapter": "ACAD",
64 "full-at": 100,
65 "design-capacity": false,
66 "states": {
67 "good": 95,
68 "warning": 30,
69 "critical": 15
70 },
71 "format": "{icon} {capacity}%",
72 "format-charging": " {capacity}%",
73 "format-plugged": "󱘖 {capacity}%",
74 "format-alt-click": "click",
75 "format-full": "{icon} Full",
76 "format-alt": "{icon} {time}",
77 "format-icons": [
78 "󰂎", "󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"
79 ],
80 "format-time": "{H}h {M}min",
81 "tooltip": true,
82 "tooltip-format": "{timeTo} {power}w",
83 "on-click-middle": "$HOME/.config/hypr/scripts/ChangeBlur.sh",
84 "on-click-right": "$HOME/.config/hypr/scripts/Wlogout.sh",
85},
86
87"bluetooth": {
88 "format": " ",
89 "format-disabled": "󰂳",
90 "format-connected": "󰂱 {num_connections}",
91 "tooltip-format": " {device_alias}",
92 "tooltip-format-connected": "{device_enumerate}",
93 "tooltip-format-enumerate-connected": " {device_alias} 󰂄{device_battery_percentage}%",
94 "tooltip": true,
95 "on-click": "blueman-manager",
96},
97
98"clock": {
99 "interval": 1,
100 "format": " {:%I:%M %p}", // AM PM format
101 //"format": " {:%H:%M:%S}",// 24H
102 "format-alt": " {:%H:%M  %Y, %d %B, %A}",
103 "tooltip-format": "<tt><small>{calendar}</small></tt>",
104 "calendar": {
105 "mode": "year",
106 "mode-mon-col": 3,
107 "weeks-pos": "right",
108 "on-scroll": 1,
109 "format": {
110 "months": "<span color='#ffead3'><b>{}</b></span>",
111 "days": "<span color='#ecc6d9'><b>{}</b></span>",
112 "weeks": "<span color='#99ffdd'><b>W{}</b></span>",
113 "weekdays": "<span color='#ffcc66'><b>{}</b></span>",
114 "today": "<span color='#ff6699'><b><u>{}</u></b></span>"
115 }
116 }
117},
118
119"actions": {
120 "on-click-right": "mode",
121 "on-click-forward": "tz_up",
122 "on-click-backward": "tz_down",
123 "on-scroll-up": "shift_up",
124 "on-scroll-down": "shift_down"
125},
126
127"clock#2": {
128 "format": " {:%I:%M %p}", // AM PM format
129 //"format": " {:%H:%M}",// 24H
130 "format-alt": "{:%A | %H:%M | %e %B}",
131 "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
132},
133
134"clock#3": {
135 "format": "{:%I:%M %p - %d/%b}",//for AM/PM
136 //"format": "{:%H:%M - %d/%b}",// 24H
137 "tooltip": false
138},
139
140"clock#4": {
141 "interval": 60,
142 "format": "{:%B | %a %d, %Y | %I:%M %p}",// AM PM format
143 //"format": "{:%B | %a %d, %Y | %H:%M}",// 24H
144 "format-alt": "{:%a %b %d, %G}",
145 "tooltip-format": "<big>{:%B %Y}</big>\n<tt><small>{calendar}</small></tt>",
146},
147
148"clock#5": {
149 "format": "{:%A, %I:%M %P}",// AM PM format
150 //"format": "{:%a %d | %H:%M}",// 24H
151 "format-alt": "{:%A, %d %B, %Y (%R)}",
152 "tooltip-format": "<big>{:%B %Y}</big>\n<tt><small>{calendar}</small></tt>",
153},
154
155"clock#utc": {
156 "interval": 1,
157 "format": " {:%I:%M %p} UTC",
158 "format-alt": " {:%H:%M  %Y, %d %B} UTC",
159 "timezone": "UTC",
160 "tooltip-format": "UTC Time\n<tt><small>{calendar}</small></tt>",
161 "calendar": {
162 "mode": "year",
163 "mode-mon-col": 3,
164 "weeks-pos": "right",
165 "on-scroll": 1,
166 "format": {
167 "months": "<span color='#ffead3'><b>{}</b></span>",
168 "days": "<span color='#ecc6d9'><b>{}</b></span>",
169 "weeks": "<span color='#99ffdd'><b>W{}</b></span>",
170 "weekdays": "<span color='#ffcc66'><b>{}</b></span>",
171 "today": "<span color='#ff6699'><b><u>{}</u></b></span>"
172 }
173 }
174},
175
176"cpu": {
177 "format": "{usage}% 󰍛",
178 "interval": 1,
179 "min-length": 5,
180 "format-alt-click": "click",
181 "format-alt": "{icon0}{icon1}{icon2}{icon3} {usage:>2}% 󰍛",
182 "format-icons": [
183 "▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"
184 ],
185 "on-click-right": "gnome-system-monitor",
186},
187
188"disk": {
189 "interval": 30,
190 //"format": "󰋊",
191 "path": "/",
192 //"format-alt-click": "click",
193 "format": "{percentage_used}% 󰋊",
194 //"tooltip": true,
195 "tooltip-format": "{used} used out of {total} on {path} ({percentage_used}%)",
196},
197
198"hyprland/language": {
199 "format": "Lang: {}",
200 "format-en": "US",
201 "format-tr": "Korea",
202 "keyboard-name": "at-translated-set-2-keyboard",
203 "on-click": "hyprctl switchxkblayout $SET_KB next"
204},
205
206"hyprland/submap": {
207 "format": "<span style=\"italic\"> {}</span>", // Icon: expand-arrows-alt
208 "tooltip": false,
209},
210
211"hyprland/window": {
212 "format": "{}",
213 "max-length": 25,
214 "separate-outputs": true,
215 "offscreen-css": true,
216 "offscreen-css-text": "(inactive)",
217 "rewrite": {
218 "(.*) — Mozilla Firefox": " $1",
219 "(.*) - fish": "> [$1]",
220 "(.*) - zsh": "> [$1]",
221 "(.*) - $term": "> [$1]",
222 },
223},
224
225"idle_inhibitor": {
226 "tooltip": true,
227 "tooltip-format-activated": "Idle_inhibitor active",
228 "tooltip-format-deactivated": "Idle_inhibitor not active",
229 "format": "{icon}",
230 "format-icons": {
231 "activated": " ",
232 "deactivated": " ",
233 }
234},
235
236"keyboard-state": {
237 //"numlock": true,
238 "capslock": true,
239 "format": {
240 "numlock": "N {icon}",
241 "capslock": "󰪛 {icon}",
242 },
243 "format-icons": {
244 "locked": "",
245 "unlocked": ""
246 },
247},
248
249"memory": {
250 "interval": 10,
251 "format": "{used:0.1f}G 󰾆",
252 "format-alt": "{percentage}% 󰾆",
253 "format-alt-click": "click",
254 "tooltip": true,
255 "tooltip-format": "{used:0.1f}GB/{total:0.1f}G",
256 "on-click-right": "$HOME/.config/hypr/scripts/WaybarScripts.sh --btop"
257},
258
259"mpris": {
260 "interval": 10,
261 "format": "{player_icon} ",
262 "format-paused": "{status_icon} <i>{dynamic}</i>",
263 "on-click-middle": "playerctl play-pause",
264 "on-click": "playerctl previous",
265 "on-click-right": "playerctl next",
266 "scroll-step": 5.0,
267 "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --inc",
268 "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --dec",
269 "smooth-scrolling-threshold": 1,
270 "tooltip": true,
271 "tooltip-format": "{status_icon} {dynamic}\nLeft Click: previous\nMid Click: Pause\nRight Click: Next",
272 "player-icons": {
273 "chromium": "",
274 "default": "",
275 "firefox": "",
276 "kdeconnect": "",
277 "mopidy": "",
278 "mpv": "󰐹",
279 "spotify": "",
280 "vlc": "󰕼",
281 },
282 "status-icons": {
283 "paused": "󰐎",
284 "playing": "",
285 "stopped": "",
286 },
287 // "ignored-players": ["firefox"]
288 "max-length": 30,
289},
290
291"network": {
292 "format": "{ifname}",
293 "format-wifi": "{icon}",
294 "format-ethernet": "󰌘",
295 "format-disconnected": "󰌙",
296 "tooltip-format": "{ipaddr}  {bandwidthUpBits}  {bandwidthDownBits}",
297 "format-linked": "󰈁 {ifname} (No IP)",
298 "tooltip-format-wifi": "{essid} {icon} {signalStrength}%",
299 "tooltip-format-ethernet": "{ifname} 󰌘",
300 "tooltip-format-disconnected": "󰌙 Disconnected",
301 "max-length": 30,
302 "format-icons": [
303 "󰤯", "󰤟", "󰤢", "󰤥", "󰤨"
304 ],
305 "on-click-right": "$HOME/.config/hypr/scripts/WaybarScripts.sh --nmtui"
306},
307
308"network#speed": {
309 "interval": 1,
310 "format": "{ifname}",
311 "format-wifi": "{icon}  {bandwidthUpBytes}  {bandwidthDownBytes}",
312 "format-ethernet": "󰌘  {bandwidthUpBytes}  {bandwidthDownBytes}",
313 "format-disconnected": "󰌙",
314 "tooltip-format": "{ipaddr}",
315 "format-linked": "󰈁 {ifname} (No IP)",
316 "tooltip-format-wifi": "{essid} {icon} {signalStrength}%",
317 "tooltip-format-ethernet": "{ifname} 󰌘",
318 "tooltip-format-disconnected": "󰌙 Disconnected",
319 "min-length": 24,
320 "max-length": 24,
321 "format-icons": [
322 "󰤯", "󰤟", "󰤢", "󰤥", "󰤨"
323 ]
324},
325
326"power-profiles-daemon": {
327 "format": "{icon} ",
328 "tooltip-format": "Power profile: {profile}\nDriver: {driver}",
329 "tooltip": true,
330 "format-icons": {
331 "default": "",
332 "performance": "",
333 "balanced": "",
334 "power-saver": ""
335 }
336},
337
338"pulseaudio": {
339 "format": "{icon} {volume}%",
340 "format-bluetooth": "{icon} 󰂰 {volume}%",
341 "format-muted": "󰖁",
342 "format-icons": {
343 "headphone": "",
344 "hands-free": "",
345 "headset": "",
346 "phone": "",
347 "portable": "",
348 "car": "",
349 "default": [
350 "", "", "󰕾", ""
351 ],
352 "ignored-sinks": [
353 "Easy Effects Sink"
354 ],
355 },
356 "scroll-step": 5.0,
357 "on-click": "$HOME/.config/hypr/scripts/Volume.sh --toggle",
358 "on-click-right": "pavucontrol -t 3",
359 "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --inc",
360 "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --dec",
361 "tooltip-format": "{icon} {desc} | {volume}%",
362 "smooth-scrolling-threshold": 1,
363},
364
365"pulseaudio#1": {
366 "format": "{icon} {volume}%",
367 "format-bluetooth": "{icon} {volume}%",
368 "format-bluetooth-muted": " {icon}",
369 "format-muted": "󰸈",
370 "format-icons": {
371 "headphone": "",
372 "hands-free": "",
373 "headset": "",
374 "phone": "",
375 "portable": "",
376 "car": "",
377 "default": ["", "", ""]
378 },
379 "on-click": "pamixer --toggle-mute",
380 "on-click-right": "pavucontrol -t 3",
381 "tooltip": true,
382 "tooltip-format": "{icon} {desc} | {volume}%",
383},
384
385"pulseaudio#microphone": {
386 "format": "{format_source}",
387 "format-source": " {volume}%",
388 "format-source-muted": "",
389 "on-click": "$HOME/.config/hypr/scripts/Volume.sh --toggle-mic",
390 "on-click-right": "pavucontrol -t 4",
391 "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --mic-inc",
392 "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --mic-dec",
393 "tooltip-format": "{source_desc} | {source_volume}%",
394 "scroll-step": 5,
395},
396
397"tray": {
398 "icon-size": 20,
399 "spacing": 4,
400},
401
402"wireplumber": {
403 "format": "{icon} {volume} %",
404 "format-muted": " Mute",
405 "on-click": "$HOME/.config/hypr/scripts/Volume.sh --toggle",
406 "on-click-right": "pavucontrol -t 3",
407 "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --inc",
408 "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --dec",
409 "format-icons": [
410 "", "", "󰕾", ""
411 ],
412},
413
414"wlr/taskbar": {
415 "format": "{icon} {name}",
416 "icon-size": 16,
417 "all-outputs": false,
418 "tooltip-format": "{title}",
419 "on-click": "activate",
420 "on-click-middle": "close",
421 "ignore-list": [
422 "wofi",
423 "rofi",
424 "kitty",
425 "kitty-dropterm"
426 ],
427},
428}