From f8fe06ceeff3629fbe1bef75f9754d04a9083d77 Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 6 Feb 2024 23:31:35 -0600 Subject: hypr: Fix REAPER/yabridge broken menus This adds in windowrules to fix the broken menu spawning when using certain plugins through yabridge in REAPER. --- hypr/hyprland.conf | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'hypr') diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 679dcda..7f26816 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -154,10 +154,16 @@ plugin { windowrule = windowdance, title:^(Rhythm Doctor)$ windowrule = fullscreen, ^(Xephyr)$ windowrule = float, title:^(LibreWolf - Choose User Profile)$ -windowrulev2 = float, class:^(yabridge-host.exe.so)$, title:^(menu)$ -windowrulev2 = float,floating:0,title:^(menu*) -windowrulev2 = forceinput,title:^(menu*) -windowrulev2 = windowdance,title:^(menu*) +windowrule = float, class:^(xdg-desktop-portal-gtk) +windowrulev2 = tile, class:^(REAPER)$, title:^(.*REAPER v[0-9.]* - Licensed for personal/small business use)$ +windowrulev2 = move cursor -50% -50%, class:^(yabridge-host.exe.so)$, title:^(menu)$ +windowrulev2 = nofocus, class:^(yabridge-host.exe.so)$, title:^(\s*)$ +windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Snap/Grid Settings)$ +windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Routing for track [0-9]*)$ +#windowrulev2 = float,floating:0, title:^(menu)$ +#windowrulev2 = forceinput, title:^(menu)$ +#windowrulev2 = windowdance, title:^(menu)$ +#windowrulev2 = nofocus, title:^(menu)$, class:^(yabridge\-host\.exe\.so)$ #}}} #{{{ Mods -- cgit v1.2.3