Final commit before Lua migration
This commit is contained in:
+75
-10
@@ -1,21 +1,86 @@
|
||||
# XWayland dragging stuff
|
||||
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||
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_regex = (gcr-prompter|qt5ct|qt6ct|simple-scan)
|
||||
windowrulev2 = float,class:$float_regex
|
||||
$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
|
||||
windowrulev2 = maximize,class:negative:$float_regex
|
||||
windowrule {
|
||||
name = maximize-evrerything
|
||||
match:class = negative:$fioat_regex
|
||||
|
||||
maximize = true
|
||||
}
|
||||
|
||||
# espanso
|
||||
windowrulev2 = workspace special,title:(Espanso Sync Tool)
|
||||
windowrule {
|
||||
name = espanso-on-special
|
||||
match:title = "Espanso Sync Tool"
|
||||
|
||||
workspace = special
|
||||
}
|
||||
|
||||
# workspace binds for windows
|
||||
$browsers = (.*qutebrowser.*|.*[Ff]irefox.*)
|
||||
$work = (.*[Ss]lack|.*[Vv]ivaldi.*)
|
||||
$work = (.*[Ss]lack)
|
||||
$jobs = (.*.*[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
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user