fix handy positioning

This commit is contained in:
2026-03-09 16:28:46 +00:00
parent d92c98796a
commit d03db1a1b6
+21 -1
View File
@@ -186,7 +186,7 @@ window-rule {
default-column-width {} default-column-width {}
} }
// Open the Firefox picture-in-picture player as floating by default. // Open the Firefox picture-in-Picture player as floating by default.
window-rule { window-rule {
// This app-id regular expression will work for both: // This app-id regular expression will work for both:
// - host Firefox (app-id is "firefox") // - host Firefox (app-id is "firefox")
@@ -195,6 +195,26 @@ window-rule {
open-floating true open-floating true
} }
// Handy overlay: don't focus it and remove niri decorations.
window-rule {
match app-id=r#"(?i)^handy$"#
open-floating true
open-focused false
default-floating-position x=120 y=-160 relative-to="bottom"
draw-border-with-background false
focus-ring {
off
}
border {
off
}
shadow {
off
}
geometry-corner-radius 0
clip-to-geometry false
}
// Do the same for Zen Browser. // Do the same for Zen Browser.
window-rule { window-rule {
match app-id=r#"zen$"# title="^Picture-in-Picture$" match app-id=r#"zen$"# title="^Picture-in-Picture$"