summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2026-01-19 00:33:05 +0100
committerAhmed AbdelHalim <[email protected]>2026-01-19 10:38:00 +0100
commitaa19ad4cd817ac82104222680d78650afb4b41b2 (patch)
treed04e047262a8ddb7df8ae8cebf8685b0348623cf
parent8a02c2e8634b8a615518d4633ed6a8dd246a8c64 (diff)
Simplify the windowrule
There is still some issue with wlctl that I'm trying to debug, not sure if it is related to cargo or some other weird behaviour
-rw-r--r--roles/hyprland/templates/hyprland/rules.conf.j23
-rw-r--r--roles/waybar/templates/waybar/config.jsonc.j22
2 files changed, 2 insertions, 3 deletions
diff --git a/roles/hyprland/templates/hyprland/rules.conf.j2 b/roles/hyprland/templates/hyprland/rules.conf.j2
index f0c09209..65fb3915 100644
--- a/roles/hyprland/templates/hyprland/rules.conf.j2
+++ b/roles/hyprland/templates/hyprland/rules.conf.j2
@@ -9,8 +9,7 @@ windowrule = float on, match:tag floating-window
windowrule = center on, match:tag floating-window
windowrule = size 875 600, match:tag floating-window
-windowrule = tag +floating-window, match:class (work.kartoffln.bluetui|work.kartoffln.btop|work.kartoffln.wlctl)
-windowrule = tag +floating-window, match:class (work.kartoffln.wiremix)
+windowrule = tag +floating-window, match:class work.kartoffln.(bluetui|btop|wiremix|wlctl)
windowrule = float on, match:class org.gnome.Calculator
# Picture-in-picture overlays
diff --git a/roles/waybar/templates/waybar/config.jsonc.j2 b/roles/waybar/templates/waybar/config.jsonc.j2
index 4fec10f8..f02e0a50 100644
--- a/roles/waybar/templates/waybar/config.jsonc.j2
+++ b/roles/waybar/templates/waybar/config.jsonc.j2
@@ -92,7 +92,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}",