diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-06-09 16:43:04 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-06-09 16:43:04 +0800 |
| commit | 22df910053a621415a827fe9a4bd775c91dae93b (patch) | |
| tree | af797c651ddc87d2275af9cd5c7e615bffd77bf6 /dot-config/waybar | |
| parent | 8784238ca5535312c98babe8a60c0bde45ccb656 (diff) | |
waybar: re organize privacy module so calendar becomes clickable again
style: waybar formatted
Diffstat (limited to 'dot-config/waybar')
| -rw-r--r-- | dot-config/waybar/config.jsonc | 37 | ||||
| -rw-r--r-- | dot-config/waybar/modules.jsonc | 11 |
2 files changed, 34 insertions, 14 deletions
diff --git a/dot-config/waybar/config.jsonc b/dot-config/waybar/config.jsonc index 0e9701f9..03083b9a 100644 --- a/dot-config/waybar/config.jsonc +++ b/dot-config/waybar/config.jsonc @@ -1,15 +1,28 @@ // -*- mode: jsonc -*- { - "include": "~/.config/waybar/modules.jsonc", - "position": "top", - "layer": "top", - "height": 30, - "margin-top": 10, - "margin-bottom": 0, - "margin-left": 25, - "margin-right": 25, - "modules-left": ["group/musicworkspace", "cava"], - "modules-center": ["hyprland/window"], - "modules-right": ["cpu", "memory", "custom/gpu", "temperature", "network", "group/misc", "group/power"], - "reload_style_on_change": true, + "include": "~/.config/waybar/modules.jsonc", + "position": "top", + "layer": "top", + "height": 30, + "margin-top": 10, + "margin-bottom": 0, + "margin-left": 25, + "margin-right": 25, + "modules-left": [ + "group/musicworkspace", + "cava" + ], + "modules-center": [ + "hyprland/window" + ], + "modules-right": [ + "cpu", + "memory", + "custom/gpu", + "temperature", + "network", + "group/misc-wrapper", + "group/trail" + ], + "reload_style_on_change": true } diff --git a/dot-config/waybar/modules.jsonc b/dot-config/waybar/modules.jsonc index bf24775f..9b451780 100644 --- a/dot-config/waybar/modules.jsonc +++ b/dot-config/waybar/modules.jsonc @@ -307,7 +307,7 @@ "modules": [ "group/misc-wrapper", "privacy" - ], + ] }, "group/misc-wrapper": { "orientation": "horizontal", @@ -353,6 +353,13 @@ "on-click": "notify-send -e 'Hyprland' 'Click again to Reboot'", "on-double-click": "reboot" }, + "group/trail": { + "orientation": "inherit", + "modules": [ + "group/power", + "privacy" + ] + }, "group/power": { "orientation": "inherit", "drawer": { @@ -364,7 +371,7 @@ "custom/dpms", "custom/lock", "custom/suspend", - "custom/reboot", + "custom/reboot" ] }, } |
