Files
dotfiles/hyprland/.config/hypr/config.d/50-window-rules.conf
T

24 lines
1.1 KiB
Plaintext

# 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 8 silent, match:class ^(org.keepassxc.KeePassXC)$
windowrule = workspace 8 silent, match:class ^(org.mozilla.Thunderbird)$
windowrule = workspace 9 silent, match:class ^(im.riot.Riot)$
windowrule = workspace 9 silent, match:class ^(.*vesktop.*)$
windowrule = workspace 10 silent, match:class ^(.*spotube.*)$
windowrule = workspace 10 silent, match:class ^(.*potify.*)$
windowrule = workspace 10 silent, match:class ^(feishin)$