From b5096c56cabb6ca828ffed5dcab77dcb17cc491f Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 20 Jul 2024 11:23:01 -0500 Subject: hypr: Reorganize and simplify hyprland window rules Also comment most of them out for testing purposes. --- hypr/hyprland.conf | 61 +++++++++++++++++++++++++----------------------------- 1 file changed, 28 insertions(+), 33 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 08f1e4b..0117b75 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -185,39 +185,34 @@ plugin { # Example windowrule v2 # windowrulev2 = float, class:^(kitty)$, title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more -windowrule = windowdance, ^(oneshot)$ -windowrule = windowdance, title:^(UNDERTALE)$ -windowrule = windowdance, title:^(Rhythm Doctor)$ -windowrule = fullscreen, ^(Xephyr)$ -windowrule = float, title:^(LibreWolf - Choose User Profile)$ -windowrule = float, ^(xdg-desktop-portal-gtk) -windowrule = float, title:^(UNDERTALE)$ -windowrule = float, ^(Tk)$ -windowrule = float, ^(lxqt-policykit-agent)$ -windowrulev2 = stayfocused, title:^()$, class:^(steam)$ -windowrulev2 = minsize 1 1, title:^()$, class:^(steam)$ -windowrulev2 = stayfocused, title:^(menu)$,class:^(yabridge-host.exe.so)$ -windowrulev2 = minsize 1 1, title:^(menu)$,class:^(yabridge-host.exe.so)$ -windowrulev2 = float, class:^(yabridge-host.exe.so)$, title:^(menu)$ -windowrulev2 = float, floating:0, title:^(menu*) -windowrulev2 = forceinput, title:^(menu*) -windowrulev2 = windowdance, title:^(menu*) -windowrule = workspace 2, title:^(REAPER .*initializing.*)$ -windowrulev2 = tile, class:^(REAPER)$, title:^(.*REAPER v[0-9.]* - Licensed for personal/small business use)$ -windowrule = tile, ^(WebApp-Qobuz[0-9]*)$ -windowrulev2 = float, title:^(menu)$ -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 = move cursor -50% -50%, class:^(REAPER)$, title:^(Metronome and pre-roll settings)$ -#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:^(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)$ +#windowrule = windowdance, ^(oneshot)$ +#windowrule = windowdance, title:^(UNDERTALE)$ +#windowrule = windowdance, title:^(Rhythm Doctor)$ +#windowrule = fullscreen, ^(Xephyr)$ +#windowrule = float, title:^(LibreWolf - Choose User Profile)$ +#windowrule = float, ^(xdg-desktop-portal-gtk) +#windowrulev2 = forceinput, class:^(xdg-desktop-portal-gtk) +#windowrule = float, title:^(UNDERTALE)$ +#windowrule = float, ^(Tk)$ +#windowrule = float, ^(lxqt-policykit-agent)$ +#windowrulev2 = stayfocused, title:^()$, class:^(steam)$ +#windowrulev2 = minsize 1 1, title:^()$, class:^(steam)$ +#windowrulev2 = stayfocused, title:^(menu)$, class:^(REAPER)$ +#windowrulev2 = minsize 1 1, title:^(menu)$, class:^(REAPER)$ +#windowrulev2 = stayfocused, title:^(menu)$,class:^(yabridge-host.exe.so)$ +#windowrulev2 = minsize 1 1, title:^(menu)$,class:^(yabridge-host.exe.so)$ +#windowrulev2 = tile, class:^(REAPER)$, title:^(REAPER v[0-9.]* - Registered to [A-Za-z ]* \(Licensed for personal/small business use\))$ +#windowrule = tile, ^(WebApp-.*)$ +#windowrule = float, title:^(menu)$ +windowrulev2 = move onscreen cursor -50% -50%, title:^(menu)$ +windowrulev2 = noinitialfocus, title:^(menu)$ +windowrulev2 = windowdance, title:^(menu)$ +#windowrulev2 = nofocus, class:^(mldrums.exe|yabridge-host.exe)$, title:^(\s*)$ +#windowrulev2 = opacity 1.0, class:^(mldrums.exe|yabridge-host.exe)$, title:^(\s*)$ +#windowrulev2 = maxsize 1 1, class:^(mldrums.exe|yabridge-host.exe)$, title:^(\s*)$ +#windowrulev2 = float, class:^(mldrums.exe|yabridge-host.exe)$, title:^(\s*)$ +#windowrulev2 = float, class:^(mldrums.exe)$, title:^(ML Drums)$ +#windowrulev2 = nofocus, class:^(mldrums.exe|yabridge-host.exe)$, title:^(\s*)$ #}}} #{{{ Mods -- cgit v1.2.3