nix-configs/modules/desktop/home/niri/privacy.nix

26 lines
660 B
Nix
Raw Normal View History

{...}: {
programs.niri.settings = {
layer-rules = [
{
matches = [
{namespace = "notifications";}
];
block-out-from = "screen-capture";
}
];
window-rules = [
{
matches = [
{app-id = "^signal|Element|org\.gnome\.Evolution$";}
2025-03-28 15:05:48 +01:00
{title = "^.*(Discord|Beispiel Screenshare block Bug|Bitwarden|Träwelling).*$";}
];
excludes = [
2025-03-30 23:58:38 +02:00
{title = "^.*((Schrottkatze|Statistics|Leaderboard) - Träwelling|chaos.social|Nekoverse|catgirl.cloud).*$";}
{is-floating = true;}
];
block-out-from = "screen-capture";
}
];
};
}