add privacy screenshare blocking settings

This commit is contained in:
Schrottkatze 2025-03-27 01:54:57 +01:00
commit 0162bcefd3
No known key found for this signature in database
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{...}: {
programs.niri.settings = {
layer-rules = [
{
matches = [
{namespace = "notifications";}
];
block-out-from = "screen-capture";
}
];
window-rules = [
{
matches = [
{app-id = "^signal|Element|org\.gnome\.Evolution$";}
{title = "^.*(Discord|Beispiel Screenshare block Bug).*$";}
];
block-out-from = "screen-capture";
}
];
};
}