# vim: set ft=hyprlang: # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # Force all windows to be unable to maximize themselves # Default rule that ships with hypr windowrule = suppress_event maximize, match:class .* # You'll probably like this. # XDG desktop portal stuff, like file uploads, should float windowrule = float on, center on, match:class ^(xdg-desktop-portal-gtk)$ # Force pavucontrol to be the center of attention windowrule = float on, center on, match:class ^(.*pavucontrol.*)$ windowrule = pin on, match:class ^(.*pavucontrol.*)$ # Assign specific windows to specific workspaces on launch windowrule = workspace 2 silent, match:class ^(steam)$ windowrule = workspace special:secrets silent, match:class ^(org\.keepassxc\.KeePassXC)$ windowrule = workspace name:mail silent, match:class ^(org\.mozilla\.Thunderbird|org\.mozilla\.thunderbird_esr)$ windowrule = workspace name:comms silent, match:class ^(im\.riot\.Riot)$ windowrule = workspace name:comms silent, match:class ^(.*vesktop.*)$ windowrule = workspace name:media silent, match:class ^(.*spotube.*)$ windowrule = workspace name:media silent, match:class ^(.*potify.*)$ windowrule = workspace name:media silent, match:class ^(feishin)$