|
1 | 1 | // -*- mode: jsonc -*- |
2 | 2 | { |
3 | | - "position": "top", // Waybar position (top|bottom|left|right) |
4 | | - "height": 30, // Waybar height (to be removed for auto height) |
5 | | - "spacing": 4, // Gaps between modules (4px) |
6 | | - |
7 | | - // LAYOUT CONFIGURATION |
| 3 | + "position": "top", // Waybar position (top|bottom|left|right) |
| 4 | + "height": 30, // Waybar height (to be removed for auto height) |
| 5 | + "spacing": 4, // Gaps between modules (4px) |
8 | 6 |
|
9 | | - "modules-left": [], |
10 | | - "modules-center": [ |
11 | | - "hyprland/window" |
12 | | - ], |
13 | | - "modules-right": [ |
14 | | - "pulseaudio", |
15 | | - "network", |
16 | | - "cpu", |
17 | | - "memory", |
18 | | - "temperature", |
19 | | - "clock" |
20 | | - ], |
21 | | - |
22 | | - // MODULE CONFIGURATION |
| 7 | + // LAYOUT CONFIGURATION |
23 | 8 |
|
24 | | - "keyboard-state": { |
25 | | - "numlock": true, |
26 | | - "capslock": true, |
27 | | - "format": "{name} {icon}", |
28 | | - "format-icons": { |
29 | | - "locked": "", |
30 | | - "unlocked": "" |
31 | | - } |
32 | | - }, |
33 | | - "clock": { |
34 | | - "tooltip-format": "{:%Y-%m-%d}" |
35 | | - }, |
36 | | - "cpu": { |
37 | | - "format": "{usage}% ", |
38 | | - "tooltip": false |
39 | | - }, |
40 | | - "memory": { |
41 | | - "format": "{}% " |
42 | | - }, |
43 | | - "temperature": { |
44 | | - // "thermal-zone": 2, |
45 | | - // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", |
46 | | - "critical-threshold": 80, |
47 | | - "format-critical": "!! {temperatureC}°C !! {icon}", |
48 | | - "format": "{temperatureC}°C {icon}", |
49 | | - "format-icons": ["", "", ""] |
| 9 | + "modules-left": [], |
| 10 | + "modules-center": ["hyprland/window"], |
| 11 | + "modules-right": [ |
| 12 | + "pulseaudio", |
| 13 | + "network", |
| 14 | + "cpu", |
| 15 | + "memory", |
| 16 | + "temperature", |
| 17 | + "clock", |
| 18 | + ], |
| 19 | + |
| 20 | + // MODULE CONFIGURATION |
| 21 | + |
| 22 | + "keyboard-state": { |
| 23 | + "numlock": true, |
| 24 | + "capslock": true, |
| 25 | + "format": "{name} {icon}", |
| 26 | + "format-icons": { |
| 27 | + "locked": "", |
| 28 | + "unlocked": "", |
50 | 29 | }, |
51 | | - "network": { |
52 | | - "format-wifi": "{essid} ({signalStrength}%) ", |
53 | | - "format-ethernet": "{ipaddr} ", |
54 | | - "tooltip-format": "{ifname} via {gwaddr} ", |
55 | | - "format-linked": "{ifname} (No IP) ", |
56 | | - "format-disconnected": "Disconnected ⚠" |
| 30 | + }, |
| 31 | + "clock": { |
| 32 | + "tooltip-format": "{:%Y-%m-%d}", |
| 33 | + }, |
| 34 | + "cpu": { |
| 35 | + "format": "{usage}% ", |
| 36 | + "tooltip": false, |
| 37 | + }, |
| 38 | + "memory": { |
| 39 | + "format": "{}% ", |
| 40 | + }, |
| 41 | + "temperature": { |
| 42 | + // "thermal-zone": 2, |
| 43 | + // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", |
| 44 | + "critical-threshold": 80, |
| 45 | + "format-critical": "!! {temperatureC}°C !! {icon}", |
| 46 | + "format": "{temperatureC}°C {icon}", |
| 47 | + "format-icons": ["", "", ""], |
| 48 | + }, |
| 49 | + "network": { |
| 50 | + "format-wifi": "{essid} ({signalStrength}%) ", |
| 51 | + "format-ethernet": "{ipaddr} ", |
| 52 | + "tooltip-format": "{ifname} via {gwaddr} ", |
| 53 | + "format-linked": "{ifname} (No IP) ", |
| 54 | + "format-disconnected": "Disconnected ⚠", |
| 55 | + }, |
| 56 | + |
| 57 | + // Use pipewire + pipewire-pulse instead of pulseaudio |
| 58 | + "pulseaudio": { |
| 59 | + "scroll-step": 5, |
| 60 | + "format": "{volume}% {icon} {format_source}", |
| 61 | + "format-bluetooth": "{volume}% {icon} {format_source}", |
| 62 | + "format-bluetooth-muted": " {icon} {format_source}", |
| 63 | + "format-muted": " {format_source}", |
| 64 | + "format-source": "", |
| 65 | + "format-source-muted": "", |
| 66 | + "format-icons": { |
| 67 | + "headphone": "", |
| 68 | + "hands-free": "", |
| 69 | + "headset": "", |
| 70 | + "phone": "", |
| 71 | + "portable": "", |
| 72 | + "car": "", |
| 73 | + "default": ["", "", ""], |
57 | 74 | }, |
58 | | - |
59 | | - // Use pipewire + pipewire-pulse instead of pulseaudio |
60 | | - "pulseaudio": { |
61 | | - "scroll-step": 5, |
62 | | - "format": "{volume}% {icon} {format_source}", |
63 | | - "format-bluetooth": "{volume}% {icon} {format_source}", |
64 | | - "format-bluetooth-muted": " {icon} {format_source}", |
65 | | - "format-muted": " {format_source}", |
66 | | - "format-source": "", |
67 | | - "format-source-muted": "", |
68 | | - "format-icons": { |
69 | | - "headphone": "", |
70 | | - "hands-free": "", |
71 | | - "headset": "", |
72 | | - "phone": "", |
73 | | - "portable": "", |
74 | | - "car": "", |
75 | | - "default": ["", "", ""] |
76 | | - }, |
77 | | - "on-click": "pavucontrol" |
78 | | - } |
| 75 | + "on-click": "pavucontrol", |
| 76 | + }, |
79 | 77 | } |
0 commit comments