From 72ab319e65218c3207bed71efa8291ed7e440d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 26 Aug 2025 07:50:06 +0200 Subject: [PATCH] niri: set window rules --- configs/niri.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/configs/niri.nix b/configs/niri.nix index 150f458..c56024b 100644 --- a/configs/niri.nix +++ b/configs/niri.nix @@ -194,6 +194,20 @@ let clip-to-geometry true } + window-rule { + match app-id="mpv" + open-floating true + } + window-rule { + match app-id="rofi" + open-floating true + } + window-rule { + match app-id=r#"firefox$"# title="^Picture-in-Picture$" + open-floating true + default-floating-position x=32 y=32 relative-to="bottom-left" + } + window-rule { match is-window-cast-target=true