hypr/windowrules.conf

22 lines
752 B
Plaintext

# XWayland dragging stuff
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
# window classes that should be floating
$float_regex = (gcr-prompter|qt5ct|qt6ct|simple-scan)
windowrulev2 = float,class:$float_regex
# maiximize eveyrthing else
windowrulev2 = maximize,class:negative:$float_regex
# espanso
windowrulev2 = workspace special,title:(Espanso Sync Tool)
# workspace binds for windows
$browsers = (.*qutebrowser.*|.*[Ff]irefox.*)
$work = (.*[Ss]lack|.*[Vv]ivaldi.*)
$meeting = (.*[Zz]oom.*)
windowrulev2 = workspace name:shell,class:(.*[Aa]lacritty.*)
windowrulev2 = workspace name:browser,class:$browsers
windowrulev2 = workspace name:work,class:$work
windowrulev2 = workspace name:meeting,class:$meeting