every sufficiently advanced software project will eventually develop a quirks file.
This commit is contained in:
parent
0162bcefd3
commit
ab35ec8d34
2 changed files with 17 additions and 15 deletions
|
@ -6,6 +6,7 @@
|
||||||
./binds.nix
|
./binds.nix
|
||||||
./style.nix
|
./style.nix
|
||||||
./privacy.nix
|
./privacy.nix
|
||||||
|
./quirks.nix
|
||||||
];
|
];
|
||||||
programs.niri.settings = {
|
programs.niri.settings = {
|
||||||
outputs."eDP-1" = {
|
outputs."eDP-1" = {
|
||||||
|
@ -26,20 +27,5 @@
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
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";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
16
modules/desktop-environment/home/niri/quirks.nix
Normal file
16
modules/desktop-environment/home/niri/quirks.nix
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{...}: {
|
||||||
|
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";
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue