mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
77 lines
1.6 KiB
Nix
77 lines
1.6 KiB
Nix
_: {
|
|
programs.niri.settings.window-rules = [
|
|
{
|
|
draw-border-with-background = false;
|
|
clip-to-geometry = true;
|
|
geometry-corner-radius = let
|
|
r = 5.0;
|
|
in {
|
|
bottom-left = r;
|
|
bottom-right = r;
|
|
top-left = r;
|
|
top-right = r;
|
|
};
|
|
}
|
|
|
|
{
|
|
matches = [
|
|
{app-id = "^firefox$";}
|
|
{app-id = "^zen-beta$";}
|
|
{app-id = "^zen$";}
|
|
];
|
|
open-on-workspace = "browser";
|
|
}
|
|
{
|
|
matches = [
|
|
{app-id = "^vesktop$";}
|
|
{app-id = "^discord$";}
|
|
{app-id = "^org.telegram.desktop$";}
|
|
{app-id = "^Signal$";}
|
|
];
|
|
open-on-workspace = "chat";
|
|
}
|
|
{
|
|
matches = [
|
|
{app-id = "^steam_app_default$";}
|
|
{app-id = "^net.lutris.Lutris$";}
|
|
];
|
|
open-on-workspace = "vidya";
|
|
open-floating = true;
|
|
}
|
|
{
|
|
matches = [
|
|
{app-id = "^spotify$";}
|
|
{title = "^ncspot$";}
|
|
];
|
|
open-on-workspace = "media";
|
|
}
|
|
{
|
|
matches = [
|
|
{app-id = "^thunderbird$";}
|
|
];
|
|
open-on-workspace = "mail";
|
|
}
|
|
{
|
|
matches = [
|
|
{app-id="^com.github.wwmm.easyeffects$";}
|
|
{app-id="^.blueman-manager-wrapped$";}
|
|
{app-id="^org.pulseaudio.pavucontrol$";}
|
|
{app-id="^com.saivert.pwvucontrol$";}
|
|
];
|
|
open-on-workspace = "audio";
|
|
}
|
|
{
|
|
matches = [
|
|
{
|
|
app-id = "steam";
|
|
title = "^notificationtoasts_\d+_desktop$";
|
|
}
|
|
];
|
|
default-floating-position = {
|
|
x = 10;
|
|
y = 10;
|
|
relative-to = "top-right";
|
|
};
|
|
}
|
|
];
|
|
}
|