fix quirks.nix

This commit is contained in:
Schrottkatze 2025-03-27 02:56:33 +01:00
parent ac251e6d90
commit 4488cbcf1b
Signed by: schrottkatze
SSH key fingerprint: SHA256:FPOYVeBy3QP20FEM42uWF1Wa/Qhlk+L3S2+Wuau/Auo

View file

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