From adce757541be2197101d529c3478801d9c78efd7 Mon Sep 17 00:00:00 2001 From: darkeddie Date: Wed, 29 Jan 2025 17:20:23 +1100 Subject: Cleaned up some popups using the new 'negative:' regex option in Hyprland V0.47.0 Also added support for Steam games to go to workspace 6, fullscreen and disable blur if you don't use Gamescope --- config/hypr/UserConfigs/WindowRules.conf | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'config/hypr/UserConfigs/WindowRules.conf') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 05d93c07..f33b49ce 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -5,6 +5,9 @@ #windowrule = noblur,gamescope #windowrule = fullscreen,gamescope #windowrule = workspace 6 silent,^(gamescope)$ +#windowrule = noblur,^(steam_app_\d+)$ +#windowrule = fullscreen,^(steam_app_\d+)$ +#windowrule = workspace 6,^(steam_app_\d+)$ # windowrule Position windowrule = center,^(pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol) @@ -14,8 +17,7 @@ windowrule = center,^([Ff]erdium)$ # WINDOWRULE v2 # windowrule v2 - position # windowrulev2 = center,floating:1 # warning, it cause even the menu to float and center. -windowrulev2 = center, class:([Tt]hunar), title:(File Operation Progress) -windowrulev2 = center, class:([Tt]hunar), title:(Confirm to replace files) +windowrulev2 = center, class:([Tt]hunar), title:negative:([Tt]hunar) windowrulev2 = center, title:^(ROG Control)$ windowrulev2 = center, title:^(Keybindings)$ windowrulev2 = move 72% 7%,title:^(Picture-in-Picture)$ @@ -51,11 +53,10 @@ windowrulev2 = workspace 9 silent, class:^([Aa]udacious)$ # windowrule v2 - float windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$ windowrulev2 = float, class:([Zz]oom|onedriver|onedriver-launcher)$ -windowrulev2 = float, class:([Tt]hunar), title:(File Operation Progress) -windowrulev2 = float, class:([Tt]hunar), title:(Confirm to replace files) +windowrulev2 = float, class:([Tt]hunar), title:negative:([Tt]hunar) windowrulev2 = float, class:(xdg-desktop-portal-gtk) windowrulev2 = float, class:(org.gnome.Calculator), title:(Calculator) -windowrulev2 = float, class:(codium|codium-url-handler|VSCodium|code-oss), title:(Add Folder to Workspace) +windowrulev2 = float, class:(codium|codium-url-handler|VSCodium|code-oss), title:negative:(codium|VSCodium) windowrulev2 = float, class:(electron), title:(Add Folder to Workspace) windowrulev2 = float, class:^([Rr]ofi)$ windowrulev2 = float, class:^(eog|org.gnome.Loupe)$ # image viewer @@ -70,7 +71,7 @@ windowrulev2 = float, class:^(evince)$ # document viewer windowrulev2 = float, class:^(file-roller|org.gnome.FileRoller)$ # archive manager windowrulev2 = float, class:^([Bb]aobab|org.gnome.[Bb]aobab)$ # Disk usage analyzer windowrulev2 = float, title:(Kvantum Manager) -windowrulev2 = float, class:^([Ss]team)$,title:^((?![Ss]team).*|[Ss]team [Ss]ettings)$ +windowrulev2 = float, class:^([Ss]team)$,title:negative:^([Ss]team)$ windowrulev2 = float, class:^([Qq]alculate-gtk)$ #windowrulev2 = float, class:^([Ww]hatsapp-for-linux)$ windowrulev2 = float, class:^([Ff]erdium)$ @@ -149,4 +150,4 @@ layerrule = ignorezero, rofi #layerrule = ignorezero, #layerrule = ignorezero, overview -#layerrule = blur, overview +#layerrule = blur, overview \ No newline at end of file -- cgit v1.2.3 From ed4cd8ea4e146be0c98b5a083a2e289fb9e26eb0 Mon Sep 17 00:00:00 2001 From: darkeddie Date: Wed, 29 Jan 2025 17:29:29 +1100 Subject: fixes for negative: option --- config/hypr/UserConfigs/WindowRules.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config/hypr/UserConfigs/WindowRules.conf') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index f33b49ce..8c6ebe22 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -17,7 +17,7 @@ windowrule = center,^([Ff]erdium)$ # WINDOWRULE v2 # windowrule v2 - position # windowrulev2 = center,floating:1 # warning, it cause even the menu to float and center. -windowrulev2 = center, class:([Tt]hunar), title:negative:([Tt]hunar) +windowrulev2 = center, class:([Tt]hunar), title:negative:(.*[Tt]hunar.*) windowrulev2 = center, title:^(ROG Control)$ windowrulev2 = center, title:^(Keybindings)$ windowrulev2 = move 72% 7%,title:^(Picture-in-Picture)$ @@ -36,7 +36,7 @@ windowrulev2 = workspace 2, class:^([Ff]irefox|org.mozilla.firefox|[Ff]irefox-es windowrulev2 = workspace 2, class:^([Mm]icrosoft-edge(-stable|-beta|-dev|-unstable)?)$ windowrulev2 = workspace 2, class:^([Gg]oogle-chrome(-beta|-dev|-unstable)?)$ windowrulev2 = workspace 2, class:^([Tt]horium-browser|[Cc]achy-browser)$ -#windowrulev2 = workspace 3, class:^([Tt]hunar)$ +windowrulev2 = workspace 3, class:^([Tt]hunar)$ windowrulev2 = workspace 4, class:^(com.obsproject.Studio)$ windowrulev2 = workspace 5, class:^([Ss]team)$ windowrulev2 = workspace 5, class:^([Ll]utris)$ @@ -53,10 +53,10 @@ windowrulev2 = workspace 9 silent, class:^([Aa]udacious)$ # windowrule v2 - float windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$ windowrulev2 = float, class:([Zz]oom|onedriver|onedriver-launcher)$ -windowrulev2 = float, class:([Tt]hunar), title:negative:([Tt]hunar) +windowrulev2 = float, class:([Tt]hunar), title:negative:(.*[Tt]hunar.*) windowrulev2 = float, class:(xdg-desktop-portal-gtk) windowrulev2 = float, class:(org.gnome.Calculator), title:(Calculator) -windowrulev2 = float, class:(codium|codium-url-handler|VSCodium|code-oss), title:negative:(codium|VSCodium) +windowrulev2 = float, class:(codium|codium-url-handler|VSCodium|code-oss), title:negative:(.*codium.*|.*VSCodium.*) windowrulev2 = float, class:(electron), title:(Add Folder to Workspace) windowrulev2 = float, class:^([Rr]ofi)$ windowrulev2 = float, class:^(eog|org.gnome.Loupe)$ # image viewer -- cgit v1.2.3