add privacy screenshare blocking settings
This commit is contained in:
parent
2de0639d54
commit
0162bcefd3
2 changed files with 22 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
./input.nix
|
||||
./binds.nix
|
||||
./style.nix
|
||||
./privacy.nix
|
||||
];
|
||||
programs.niri.settings = {
|
||||
outputs."eDP-1" = {
|
||||
|
|
21
modules/desktop-environment/home/niri/privacy.nix
Normal file
21
modules/desktop-environment/home/niri/privacy.nix
Normal 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";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue