diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-01-29 16:10:55 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-29 16:10:55 +0900 |
| commit | 83a8e802f03f62ebf3c75df9f0efca65517bcf65 (patch) | |
| tree | f43034a1aa0ddd05a32e590254621f7fd9226f38 | |
| parent | b1fb8eb7dca70f7dcfbde42e7713e4b47cf7b6b8 (diff) | |
| parent | a6b009fe1b012c34da5aaf0798ba2eb4bcc2731f (diff) | |
Merge pull request #535 from darkeddie/windowrules
Windowrules fixes and new 'negative:' option
| -rw-r--r-- | config/hypr/UserConfigs/WindowRules.conf | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 05d93c07..8c6ebe22 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)$ @@ -34,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)$ @@ -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, <rofi> #layerrule = ignorezero, overview -#layerrule = blur, overview +#layerrule = blur, overview
\ No newline at end of file |
