summaryrefslogtreecommitdiff
path: root/.config/niri/cfg/rules.kdl
diff options
context:
space:
mode:
authorNate Cox <nate@natecox.dev>2026-05-13 11:25:07 -0700
committerNate Cox <nate@natecox.dev>2026-05-13 11:25:07 -0700
commitea73642a3c82b5e58f6f7f42878bc695e7189efe (patch)
tree96ec63b2995d15c8972a2c7d4be9a7c4089b62b6 /.config/niri/cfg/rules.kdl
downloaddotfiles-ea73642a3c82b5e58f6f7f42878bc695e7189efe.tar.bz2
dotfiles-ea73642a3c82b5e58f6f7f42878bc695e7189efe.zip
Initial commit
Diffstat (limited to '.config/niri/cfg/rules.kdl')
-rw-r--r--.config/niri/cfg/rules.kdl42
1 files changed, 42 insertions, 0 deletions
diff --git a/.config/niri/cfg/rules.kdl b/.config/niri/cfg/rules.kdl
new file mode 100644
index 0000000..61f9280
--- /dev/null
+++ b/.config/niri/cfg/rules.kdl
@@ -0,0 +1,42 @@
+ window-rule {
+ open-maximized true
+ geometry-corner-radius 12
+ clip-to-geometry true
+ }
+
+ // 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 {
+ match app-id="steam" title=r#"^notificationtoasts_\d+_desktop$"#
+ default-floating-position x=10 y=10 relative-to="bottom-right"
+ open-focused false
+ }
+
+ 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="foot"
+ open-on-workspace "term"
+ }
+
+ layer-rule {
+ match namespace="^noctalia-wallpaper*"
+ place-within-backdrop true
+ }