From 6b6b0f8f7b4e88db407abc9de897acc323fe4eb4 Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Tue, 27 May 2025 11:04:03 -0500 Subject: [PATCH] update niri config for 25.05 --- templates/.config/niri/config.kdl.j2 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/templates/.config/niri/config.kdl.j2 b/templates/.config/niri/config.kdl.j2 index 3997605..856773c 100644 --- a/templates/.config/niri/config.kdl.j2 +++ b/templates/.config/niri/config.kdl.j2 @@ -175,6 +175,10 @@ layout { // top 64 // bottom 64 } + + // background layers are placed in the "backdrop" instead of the + // "background" so they do not scroll when the workspace changes. + background-color "transparent" } // Add lines like this to spawn processes at startup. @@ -497,3 +501,17 @@ binds { // moving the mouse or pressing any other key. Mod+Shift+P { power-off-monitors; } } + +// Make the wallpaper stationary, rather than moving with workspaces. +layer-rule { + // This is for wpaperd; change for other wallpaper tools. + // Find the right namespace by running `niri msg layers`. + match namespace="^wpaperd-" + place-within-backdrop true +} + +overview { + workspace-shadow { + off + } +}