diff options
Diffstat (limited to '.config/niri/windows.kdl')
| -rw-r--r-- | .config/niri/windows.kdl | 20 |
1 files changed, 20 insertions, 0 deletions
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 @@ | |||
| 1 | workspace "main" | ||
| 2 | workspace "games" | ||
| 3 | |||
| 1 | // Window rules let you adjust behavior for individual windows. | 4 | // Window rules let you adjust behavior for individual windows. |
| 2 | // Find more information on the wiki: | 5 | // Find more information on the wiki: |
| 3 | // https://yalter.github.io/niri/Configuration:-Window-Rules | 6 | // https://yalter.github.io/niri/Configuration:-Window-Rules |
| @@ -19,6 +22,12 @@ window-rule { | |||
| 19 | } | 22 | } |
| 20 | 23 | ||
| 21 | window-rule { | 24 | window-rule { |
| 25 | match app-id=r#"firefox"# title="Choose User Profile" | ||
| 26 | |||
| 27 | open-floating true | ||
| 28 | } | ||
| 29 | |||
| 30 | window-rule { | ||
| 22 | match app-id=r#"^org\.keepassxc\.KeePassXC$"# | 31 | match app-id=r#"^org\.keepassxc\.KeePassXC$"# |
| 23 | 32 | ||
| 24 | block-out-from "screen-capture" | 33 | block-out-from "screen-capture" |
| @@ -39,3 +48,14 @@ window-rule { | |||
| 39 | open-floating true | 48 | open-floating true |
| 40 | } | 49 | } |
| 41 | 50 | ||
| 51 | window-rule { | ||
| 52 | match app-id=r#"steam"# | ||
| 53 | |||
| 54 | open-on-workspace "games" | ||
| 55 | } | ||
| 56 | |||
| 57 | window-rule { | ||
| 58 | match app-id=r#"steam"# title="Steam" | ||
| 59 | |||
| 60 | open-maximized true | ||
| 61 | } | ||
