summaryrefslogtreecommitdiffstats
path: root/roles/waybar
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-03-01 22:51:58 +0100
committerAhmed Abdelhalim <[email protected]>2026-03-01 22:51:58 +0100
commita6049265a981107bd042701ca2097410a6eef682 (patch)
tree42c1623848ca41510e65ae941eca52ab527fbf11 /roles/waybar
parentf5ef39e0c36a6c360c32d0c5c0f09cc64fb7fbda (diff)
Add battop to waybar and hyprland
Diffstat (limited to 'roles/waybar')
-rw-r--r--roles/waybar/templates/waybar/config.jsonc.j23
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/waybar/templates/waybar/config.jsonc.j2 b/roles/waybar/templates/waybar/config.jsonc.j2
index 2fb0b4bd..a8ccba81 100644
--- a/roles/waybar/templates/waybar/config.jsonc.j2
+++ b/roles/waybar/templates/waybar/config.jsonc.j2
@@ -144,7 +144,8 @@
"states": {
"warning": 20,
"critical": 10
- }
+ },
+ "on-click-right": "/etc/xdg/waybar/scripts/launch-tui battop"
},
"custom/power" : {
"interval": "once",