summaryrefslogtreecommitdiff
path: root/.config/niri/cfg/rules.kdl
diff options
context:
space:
mode:
authorNate Cox <nate@natecox.dev>2026-05-26 17:17:22 -0700
committerNate Cox <nate@natecox.dev>2026-05-26 17:25:40 -0700
commit3fa5dcde0532b4fae88118c4629bb485e43c63cb (patch)
treed26cf9a9b026d816a491744823198fa2ac98ad3d /.config/niri/cfg/rules.kdl
parentf1d90e53101302533061f44163968ef8fd67b4a3 (diff)
downloaddotfiles-3fa5dcde0532b4fae88118c4629bb485e43c63cb.tar.bz2
dotfiles-3fa5dcde0532b4fae88118c4629bb485e43c63cb.zip
General updates
Diffstat (limited to '.config/niri/cfg/rules.kdl')
-rw-r--r--.config/niri/cfg/rules.kdl73
1 files changed, 39 insertions, 34 deletions
diff --git a/.config/niri/cfg/rules.kdl b/.config/niri/cfg/rules.kdl
index 61f9280..825bac4 100644
--- a/.config/niri/cfg/rules.kdl
+++ b/.config/niri/cfg/rules.kdl
@@ -1,42 +1,47 @@
- window-rule {
- open-maximized true
- geometry-corner-radius 12
- clip-to-geometry true
- }
+workspace "web"
+workspace "term"
- // if you use steam you will probably like these
- window-rule {
- match app-id="steam"
- exclude title=r#"^[Ss]team$"#
- open-floating true
- }
+window-rule {
+ open-maximized true
+ geometry-corner-radius 12
+ clip-to-geometry true
+}
- window-rule {
- match app-id="steam" title=r#"^notificationtoasts_\d+_desktop$"#
- default-floating-position x=10 y=10 relative-to="bottom-right"
- open-focused false
- }
+ // if you use steam you will probably like these
+window-rule {
+ match app-id="steam"
+ exclude title=r#"^[Ss]team$"#
+ open-floating true
+}
- workspace "web"
+window-rule {
+ match app-id="steam" title=r#"^notificationtoasts_\d+_desktop$"#
+ default-floating-position x=10 y=10 relative-to="bottom-right"
+ open-focused false
+}
- window-rule {
- match app-id="helium-browser"
- open-on-workspace "web"
- }
+window-rule {
+ match app-id="helium-browser"
+ open-on-workspace "web"
+}
- workspace "term"
+window-rule {
+ match app-id="kitty"
+ open-on-workspace "term"
+}
- window-rule {
- match app-id="kitty"
- open-on-workspace "term"
- }
+window-rule {
+ match app-id="foot"
+ open-on-workspace "term"
+}
- window-rule {
- match app-id="foot"
- open-on-workspace "term"
- }
+window-rule {
+ match app-id=r#"^org\.wezfurlong\.wezterm$"#
+ // default-column-width {}
+ open-on-workspace "term"
+}
- layer-rule {
- match namespace="^noctalia-wallpaper*"
- place-within-backdrop true
- }
+layer-rule {
+ match namespace="^noctalia-wallpaper*"
+ place-within-backdrop true
+}