From 315ba1dce585cbb59a0bf3f18db125a055f677b6 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 19 Jan 2026 00:33:05 +0100 Subject: 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 --- roles/hyprland/templates/hyprland/rules.conf.j2 | 3 +-- roles/waybar/templates/waybar/config.jsonc.j2 | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'roles') 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}", -- cgit v1.2.3