summaryrefslogtreecommitdiff
path: root/niri/cfg/window-rules.kdl
diff options
context:
space:
mode:
authorryukamish <[email protected]>2026-04-23 18:13:54 +0530
committerryukamish <[email protected]>2026-04-23 18:13:54 +0530
commit968c3aef4640285ec40146f4a44775c9945fe224 (patch)
treeda417ff7f4f9647af5fc0e8ad1e336ae8f52b380 /niri/cfg/window-rules.kdl
parent3158422f7332dcf4233262e4526c2d7cd8eb8d6a (diff)
same rules for two diff apps on diff lines
Diffstat (limited to 'niri/cfg/window-rules.kdl')
-rw-r--r--niri/cfg/window-rules.kdl9
1 files changed, 1 insertions, 8 deletions
diff --git a/niri/cfg/window-rules.kdl b/niri/cfg/window-rules.kdl
index a298544..c762c3e 100644
--- a/niri/cfg/window-rules.kdl
+++ b/niri/cfg/window-rules.kdl
@@ -33,6 +33,7 @@ window-rule {
// Floating window rule for applications
window-rule {
+ // match app-id="mpv"
match app-id="pavucontrol"
open-floating true
default-column-width { proportion 0.75; }
@@ -46,14 +47,6 @@ window-rule {
open-floating true
}
-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
window-rule {
geometry-corner-radius 0