summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dot-config/waybar/modules.jsonc7
1 files changed, 7 insertions, 0 deletions
diff --git a/dot-config/waybar/modules.jsonc b/dot-config/waybar/modules.jsonc
index 9fd52d46..f27d3f38 100644
--- a/dot-config/waybar/modules.jsonc
+++ b/dot-config/waybar/modules.jsonc
@@ -255,6 +255,12 @@
"on-click": "notify-send 'Hyprland' 'Click again to Exit'",
"on-double-click": "hyprctl dispatch exit"
},
+ "custom/suspend": {
+ "format": "󰤄",
+ "tooltip": false,
+ "on-click": "notify-send 'Hyprland' 'Click again to Suspend'",
+ "on-double-click": "systemctl suspend"
+ },
"custom/lock": {
"format": "󰍁",
"tooltip": false,
@@ -282,6 +288,7 @@
"modules": [
"custom/shutdown",
"custom/quit",
+ "custom/suspend",
"custom/lock",
"custom/reboot",
]