Files
hypr/windowrules.conf
T

87 lines
1.6 KiB
Plaintext

# XWayland dragging stuff
windowrule {
name = xwayland-dragging
match:xwayland = true
match:float = true
match:fullscreen = false
match:pin = false
no_focus = true
}
# window classes that should be floating
$float_class_regex = (gcr-prompter|qt5ct|qt6ct|simple-scan|espanso|nm-applet)
$float_title_regex = ("HP Device Manager - Plug-in Installer")
$float_regex = ($float_class_regex|$float_title_regex)
windowrule {
name = float-class-regex
match:class = $float_class_regex
float = true
}
windowrule {
name = float-title-regex
match:title = $float_title_regex
float = true
}
# window classes that should be pinned
$pin_regex = (gcr-prompter|nm-applet)
windowrule {
name = pin-regex
match:class = $pin_regex
pin = true
}
# maiximize eveyrthing else
windowrule {
name = maximize-evrerything
match:class = negative:$fioat_regex
maximize = true
}
# espanso
windowrule {
name = espanso-on-special
match:title = "Espanso Sync Tool"
workspace = special
}
# workspace binds for windows
$browsers = (.*qutebrowser.*|.*[Ff]irefox.*)
$work = (.*[Ss]lack)
$jobs = (.*.*[Vv]ivaldi.*)
$meeting = (.*[Zz]oom.*)
windowrule {
name = alacritty-on-shell
match:class = .*[Aa]lacritty.*
workspace = name:shell
}
windowrule {
name = browser-rule
match:class = $browsers
workspace = name:browser silent
}
windowrule {
name = jobs-rule
match:class = .*[Vv]ivaldi-stable.*
workspace = name:jobs silent
}
windowrule {
name = meeting-rule
match:class = $meeting
workspace = name:meeting silent
}