diff options
Diffstat (limited to 'niri')
| -rw-r--r-- | niri/cfg/window-rules.kdl | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/niri/cfg/window-rules.kdl b/niri/cfg/window-rules.kdl index 17b8d03..ed8c031 100644 --- a/niri/cfg/window-rules.kdl +++ b/niri/cfg/window-rules.kdl @@ -2,6 +2,9 @@ window-rule { match app-id=r#"firefox$"# title="^Picture-in-Picture$" match app-id=r#"zen$"# title="^Picture-in-Picture$" match app-id=r#"librewolf$"# title="^Picture-in-Picture$" + + match title=r#"^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" @@ -14,11 +17,9 @@ window-rule { window-rule { match app-id="zen" match app-id="firefox" - match app-id="Chromium" - match app-id="google-chrome" + match app-id="chromium" match app-id="brave-browser" match app-id="librewolf" - match app-id="helium" open-maximized true } @@ -38,20 +39,13 @@ window-rule { default-window-height { proportion 0.7; } } -// Floating window rule for applications -window-rule { - // match app-id="mpv" - match app-id="pavucontrol" - open-floating true - default-column-width { proportion 0.75; } - default-window-height { proportion 0.7; } -} - // KDE file picker window-rule { match app-id="org.freedesktop.impl.portal.desktop.kde" open-floating true + default-column-width { proportion 0.5; } + default-window-height { proportion 0.5; } } // Rounded cornors for all windows |
