Work through more window rules

This commit is contained in:
Salt 2024-09-17 02:17:00 -05:00
parent ba98f5cdf2
commit 1d22a2aba1
2 changed files with 13 additions and 6 deletions

View File

@ -1,9 +1,16 @@
# vim: set ft=config: # vim: set ft=config:
# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # 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
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
#windowrulev2 = animation windowOut,class:^(wofi)$ # Force pavucontrol to be the center of attention
windowrulev2 = float, center 1, pin, class:^(.*pavucontrol.*)$
# Assign specific windows to specific workspaces on launch
windowrulev2 = workspace 8 silent, class:^(org.keepassxc.KeePassXC)$
windowrulev2 = workspace 8 silent, class:^(org.mozilla.Thunderbird)$
windowrulev2 = workspace 9 silent, class:^(.*vesktop.*)$
windowrulev2 = workspace 10 silent, class:^(.*spotube.*)$
windowrulev2 = workspace 10 silent, class:^(im.riot.Riot)$

View File

@ -3,5 +3,5 @@
exec-once = [workspace 8 silent] flatpak run org.keepassxc.KeePassXC exec-once = [workspace 8 silent] flatpak run org.keepassxc.KeePassXC
exec-once = [workspace 8 silent] flatpak run org.mozilla.Thunderbird exec-once = [workspace 8 silent] flatpak run org.mozilla.Thunderbird
exec-once = [workspace 9 silent] flatpak run dev.vencord.Vesktop exec-once = [workspace 9 silent] flatpak run dev.vencord.Vesktop
exec-once = [workspace 9 silent] flatpak run im.riot.Riot exec-once = [workspace 10 silent] flatpak run im.riot.Riot
exec-once = [workspace 10 silent] flatpak run com.github.KRTirtho.Spotube exec-once = [workspace 10 silent] flatpak run com.github.KRTirtho.Spotube