diff options
| author | ryukamish <[email protected]> | 2026-03-20 23:15:52 +0530 |
|---|---|---|
| committer | ryukamish <[email protected]> | 2026-03-20 23:15:52 +0530 |
| commit | 4431df20bf6db3b59da3b255c6be96f3ba846c81 (patch) | |
| tree | c425756a35732ca83b4dbef192c17b58a368893e /niri | |
| parent | 51b31d6088b45d0f5d2d76913cbce3e2a6b90fee (diff) | |
feat: floating window and size control
Diffstat (limited to 'niri')
| -rw-r--r-- | niri/cfg/window-rules.kdl | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/niri/cfg/window-rules.kdl b/niri/cfg/window-rules.kdl index bff3ba4..2991cb9 100644 --- a/niri/cfg/window-rules.kdl +++ b/niri/cfg/window-rules.kdl @@ -1,6 +1,7 @@ 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$" open-floating true // Anchor to the top edge of the screen. default-floating-position x=20 y=20 relative-to="bottom-right" @@ -15,15 +16,25 @@ window-rule { match app-id="chromium" match app-id="google-chrome" match app-id="brave-browser" + match app-id="librewolf" open-maximized true } window-rule { match app-id="TUI.float" - match app-id=r#"zen"# title="Raindrop" open-floating true + default-column-width { proportion 0.75; } + default-window-height { proportion 0.7; } +} + +window-rule { + match app-id="mpv" + // Properties + open-floating true + default-column-width { proportion 0.7; } + default-window-height { proportion 0.8; } } // Rounded cornors for all windows |
