diff options
| author | Pavel Egorov <[email protected]> | 2025-12-22 00:39:29 +0300 |
|---|---|---|
| committer | Pavel Egorov <[email protected]> | 2025-12-22 00:39:29 +0300 |
| commit | 3ef57667e042a04e2a0a04da546918bd02ef03e2 (patch) | |
| tree | 97c5b0d4345819547066ccad63f560513d4682a6 | |
| parent | 27576bb3c0ee8deff6178b9605b06c2bb85e192a (diff) | |
| download | dotfiles-3ef57667e042a04e2a0a04da546918bd02ef03e2.tar.gz dotfiles-3ef57667e042a04e2a0a04da546918bd02ef03e2.zip | |
[niri] Add new workspaces and window rules
Diffstat (limited to '')
| -rw-r--r-- | .config/niri/windows.kdl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/niri/windows.kdl b/.config/niri/windows.kdl index 44410d3..e9df687 100644 --- a/.config/niri/windows.kdl +++ b/.config/niri/windows.kdl | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | workspace "main" | 1 | workspace "main" |
| 2 | workspace "browser" | ||
| 2 | workspace "games" | 3 | workspace "games" |
| 3 | 4 | ||
| 4 | // Window rules let you adjust behavior for individual windows. | 5 | // Window rules let you adjust behavior for individual windows. |
| @@ -10,6 +11,12 @@ window-rule { | |||
| 10 | clip-to-geometry true | 11 | clip-to-geometry true |
| 11 | } | 12 | } |
| 12 | 13 | ||
| 14 | window-rule { | ||
| 15 | match app-id=r#"firefox$"# | ||
| 16 | |||
| 17 | open-maximized true | ||
| 18 | } | ||
| 19 | |||
| 13 | // Open the Firefox picture-in-picture player as floating by default. | 20 | // Open the Firefox picture-in-picture player as floating by default. |
| 14 | window-rule { | 21 | window-rule { |
| 15 | // This app-id regular expression will work for both: | 22 | // This app-id regular expression will work for both: |
