From b277dc0a9a0c994d40c2264430e55df70eb801b0 Mon Sep 17 00:00:00 2001 From: Pavel Egorov Date: Tue, 9 Dec 2025 18:43:50 +0300 Subject: [niri] Add named workspaces and more window rules --- .config/niri/windows.kdl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to '.config/niri/windows.kdl') diff --git a/.config/niri/windows.kdl b/.config/niri/windows.kdl index 5f5b9d4..98a1e34 100644 --- a/.config/niri/windows.kdl +++ b/.config/niri/windows.kdl @@ -1,3 +1,6 @@ +workspace "main" +workspace "games" + // Window rules let you adjust behavior for individual windows. // Find more information on the wiki: // https://yalter.github.io/niri/Configuration:-Window-Rules @@ -18,6 +21,12 @@ window-rule { default-floating-position x=32 y=32 relative-to="bottom-right" } +window-rule { + match app-id=r#"firefox"# title="Choose User Profile" + + open-floating true +} + window-rule { match app-id=r#"^org\.keepassxc\.KeePassXC$"# @@ -39,3 +48,14 @@ window-rule { open-floating true } +window-rule { + match app-id=r#"steam"# + + open-on-workspace "games" +} + +window-rule { + match app-id=r#"steam"# title="Steam" + + open-maximized true +} -- cgit v1.3