window-rules.kdl (1422B)
1 window-rule { 2 match app-id=r#"firefox$"# title="^Picture-in-Picture$" 3 match app-id=r#"zen$"# title="^Picture-in-Picture$" 4 match app-id=r#"librewolf$"# title="^Picture-in-Picture$" 5 6 match title=r#"^Picture in picture$"# 7 8 open-floating true 9 // Anchor to the top edge of the screen. 10 default-floating-position x=20 y=20 relative-to="bottom-right" 11 // Half of the screen high. 12 default-window-height { proportion 0.5; } 13 // 80% of the screen wide. 14 default-column-width { proportion 0.4; } 15 } 16 17 window-rule { 18 match app-id="zen" 19 match app-id="firefox" 20 match app-id="chromium" 21 match app-id="brave-browser" 22 match app-id="librewolf" 23 24 open-maximized true 25 } 26 27 window-rule { 28 match app-id="mpv" 29 open-maximized true 30 } 31 32 // Floating window for my bash scripts 33 window-rule { 34 match app-id="TUI.float" 35 match app-id="Wifitui" 36 37 open-floating true 38 default-column-width { proportion 0.75; } 39 default-window-height { proportion 0.7; } 40 } 41 42 // KDE file picker 43 window-rule { 44 match app-id="org.freedesktop.impl.portal.desktop.kde" 45 46 open-floating true 47 default-column-width { proportion 0.5; } 48 default-window-height { proportion 0.5; } 49 } 50 51 // Rounded cornors for all windows 52 window-rule { 53 geometry-corner-radius 8 54 clip-to-geometry true 55 } 56 57 // Noctalia shell is not able to set wallpaper if this is not false 58 layer-rule { 59 match namespace="^noctalia-wallpaper*" 60 place-within-backdrop false 61 }