diff --git a/home/tiling/niri.nix b/home/tiling/niri.nix index 2dc109f..f2870f9 100644 --- a/home/tiling/niri.nix +++ b/home/tiling/niri.nix @@ -90,7 +90,8 @@ }; layout = { gaps = 4; - background-color = pkgs.catppuccin.${config.catppuccin.flavor}.mantle; + # background-color = pkgs.catppuccin.${config.catppuccin.flavor}.mantle; + background-color = "transparent"; default-column-width = { proportion = 0.5; }; @@ -123,6 +124,16 @@ }; }; window-rules = [ + { + geometry-corner-radius = { + top-left = 16.0; + top-right = 16.0; + bottom-left = 16.0; + bottom-right = 16.0; + }; + clip-to-geometry = true; + opacity = 1.0; + } { matches = [ { @@ -137,15 +148,6 @@ relative-to = "bottom-left"; }; } - { - geometry-corner-radius = { - top-left = 16.0; - top-right = 16.0; - bottom-left = 16.0; - bottom-right = 16.0; - }; - clip-to-geometry = true; - } { matches = [ { @@ -161,6 +163,16 @@ open-focused = true; } ]; + layer-rules = [ + { + matches = [ + { + namespace = "^wpaperd.*"; + } + ]; + place-within-backdrop = true; + } + ]; binds = { "Mod+Shift+Slash".action.show-hotkey-overlay = { };