summaryrefslogtreecommitdiff
path: root/niri/cfg/window-rules.kdl
blob: cd6d0605d2a6df61544c8866387215b2fbfbf931 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
window-rule {
    match app-id=r#"firefox$"# title="^Picture-in-Picture$"
    match app-id=r#"zen$"# title="^Picture-in-Picture$"
    open-floating true
	// Anchor to the top edge of the screen.
    default-floating-position x=20 y=20 relative-to="bottom-right"
    // Half of the screen high.
    default-window-height { proportion 0.5; }
    // 80% of the screen wide.
    default-column-width { proportion 0.4; }
}

// Rounded cornors for all windows
window-rule {
    geometry-corner-radius 12
    clip-to-geometry true
}

// Noctalia shell is not able to set wallpaper if this is not false
layer-rule {
	match namespace="^noctalia-wallpaper*"
	place-within-backdrop false
}