more quirks!!!

This commit is contained in:
Schrottkatze 2025-03-28 23:34:51 +01:00
parent eb969b4f6e
commit 0eace3f336
Signed by: schrottkatze
SSH key fingerprint: SHA256:FPOYVeBy3QP20FEM42uWF1Wa/Qhlk+L3S2+Wuau/Auo

View file

@ -1,8 +1,9 @@
{...}: {
programs.niri.settings = {
window-rules = [
# handle steam grabbing focus 1000 times on startup
{
# handle steam grabbing focus 1000 times on startup
matches = [
{
app-id = "steam";
@ -10,6 +11,31 @@
];
open-focused = false;
}
{
# position steam notifs correctly: https://github.com/YaLTeR/niri/wiki/Application-Issues
matches = [
{
app-id = "steam";
title = "^notificationtoasts_\\d+desktop$";
}
];
default-floating-position = {
x = 10;
y = 10;
relative-to = "bottom-right";
};
}
{
matches = [
{
title = "Guild Wars 2";
app-id = "steam_app_1284210";
}
];
border.enable = false;
shadow.enable = false;
}
];
# fix electron apps not doing wayland