diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-01-19 00:33:05 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-01-19 10:38:00 +0100 |
| commit | 315ba1dce585cbb59a0bf3f18db125a055f677b6 (patch) | |
| tree | d04e047262a8ddb7df8ae8cebf8685b0348623cf | |
| parent | abfc384827fb2e701fde6ca7deb060cf0c25a5ca (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.j2 | 3 | ||||
| -rw-r--r-- | roles/waybar/templates/waybar/config.jsonc.j2 | 2 |
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}", |
