nixos-config/home-manager/modules/niri/rules.nix
2026-01-24 09:44:01 -05:00

48 lines
829 B
Nix

{
config,
pkgs,
...
}:
{
programs.niri.settings = {
layer-rules = [
{
matches = [
{
namespace = "^quickshell-wallpaper$";
}
];
#place-within-backdrop = true;
}
{
matches = [
{
namespace = "^quickshell-overview$";
}
];
place-within-backdrop = true;
}
{
matches = [
{
namespace = "^swww-daemon$";
}
];
place-within-backdrop = true;
}
];
window-rules = [
{
matches = [ { } ];
geometry-corner-radius = {
top-left = 20.0;
top-right = 20.0;
bottom-left = 20.0;
bottom-right = 20.0;
};
clip-to-geometry = true;
}
];
};
}