Compare commits

..

No commits in common. "4c74dd5024d92b47625e3fa7d5dcfcf84a00e360" and "2de0639d54e3c24a813e432cfa25eb4d8302cd58" have entirely different histories.

3 changed files with 18 additions and 40 deletions

View file

@ -5,8 +5,6 @@
./input.nix ./input.nix
./binds.nix ./binds.nix
./style.nix ./style.nix
./privacy.nix
./quirks.nix
]; ];
programs.niri.settings = { programs.niri.settings = {
outputs."eDP-1" = { outputs."eDP-1" = {
@ -14,7 +12,9 @@
}; };
spawn-at-startup = [ spawn-at-startup = [
{command = ["eww" "open-many" "topBar" "bottomBar"];} {
command = ["eww" "open-many" "topBar" "bottomBar"];
}
{ {
command = [ command = [
"${pkgs.swaybg}/bin/swaybg" "${pkgs.swaybg}/bin/swaybg"
@ -25,5 +25,20 @@
]; ];
} }
]; ];
window-rules = [
# TODO: privacy screen rules
{
matches = [
{
app-id = "steam";
}
];
open-focused = false;
}
];
# fix electron apps not doing wayland
environment.ELECTRON_OZONE_PLATFORM_HINT = "auto";
}; };
} }

View file

@ -1,21 +0,0 @@
{...}: {
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";
}
];
};
}

View file

@ -1,16 +0,0 @@
{...}: {
window-rules = [
# handle steam grabbing focus 1000 times on startup
{
matches = [
{
app-id = "steam";
}
];
open-focused = false;
}
];
# fix electron apps not doing wayland
environment.ELECTRON_OZONE_PLATFORM_HINT = "auto";
}