mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
39 lines
821 B
Nix
39 lines
821 B
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$"; } ];
|
|
open-on-workspace = "browser";
|
|
}
|
|
{
|
|
matches = [
|
|
{ app-id = "^vesktop$"; }
|
|
{ app-id = "^discord$"; }
|
|
{ app-id = "^org.telegram.desktop$"; }
|
|
];
|
|
open-on-workspace = "chat";
|
|
}
|
|
{
|
|
matches = [ { app-id = "^steam_app_default$"; } ];
|
|
open-on-workspace = "vidya";
|
|
}
|
|
{
|
|
matches = [ { app-id = "^spotify$"; } ];
|
|
open-on-workspace = "media";
|
|
}
|
|
];
|
|
}
|