summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-02-23 07:54:37 +0100
committerAhmed Abdelhalim <[email protected]>2026-02-23 07:54:37 +0100
commitb0766b7386bba82c20a2706c3829a6b7dfdf6a84 (patch)
tree11e82383009f41e02086b44af4052234b390db6f
parentbf23daa3e450e004e7d187391392643bd0fb783e (diff)
Fix waybar actions
-rw-r--r--roles/waybar/templates/waybar/config.jsonc.j25
1 files changed, 3 insertions, 2 deletions
diff --git a/roles/waybar/templates/waybar/config.jsonc.j2 b/roles/waybar/templates/waybar/config.jsonc.j2
index 74ba5bff..2fb0b4bd 100644
--- a/roles/waybar/templates/waybar/config.jsonc.j2
+++ b/roles/waybar/templates/waybar/config.jsonc.j2
@@ -126,7 +126,7 @@
"cpu": {
"interval": 5,
"format": "󰍛",
- "on-click": "/etc/xdg/waybar/scripts/launch-tui btop"
+ "on-click-right": "/etc/xdg/waybar/scripts/launch-tui btop"
},
"battery": {
"format": "{capacity}% {icon}",
@@ -150,6 +150,7 @@
"interval": "once",
"tooltip": false,
"format": "",
- "on-click": "/etc/xdg/waybar/scripts/power-menu"
+ "on-click": "hyprlock",
+ "on-click-right": "/etc/xdg/waybar/scripts/power-menu"
}
}