feat(niri): rounded borders

This commit is contained in:
Ahurac 2024-10-15 09:33:20 +02:00
parent 0f4c12b349
commit f84fb9ff1a

View file

@ -68,8 +68,10 @@
gaps = 10; gaps = 10;
default-column-width.proportion = 0.5; default-column-width.proportion = 0.5;
preset-window-heights = [{ proportion = 1.0 / 2.0; }]; preset-window-heights = [{ proportion = 1.0 / 2.0; }];
focus-ring = { focus-ring.enable = false;
width = 4; border = {
enable = true;
width = 2;
active.color = "#35f835e5"; active.color = "#35f835e5";
inactive.color = "#80808080"; inactive.color = "#80808080";
}; };
@ -82,7 +84,17 @@
window-rules = [{ window-rules = [{
matches = [{ app-id = "im.riot.Riot"; }]; matches = [{ app-id = "im.riot.Riot"; }];
open-on-workspace = "apps"; open-on-workspace = "apps";
}]; }
{
geometry-corner-radius = {
top-left = 10.0;
top-right = 10.0;
bottom-right = 10.0;
bottom-left = 10.0;
};
clip-to-geometry = true;
}
];
prefer-no-csd = true; prefer-no-csd = true;
screenshot-path = "~/screenshots/%Y%m%d%H%m%N.png"; screenshot-path = "~/screenshots/%Y%m%d%H%m%N.png";
binds = with config.lib.niri.actions; { binds = with config.lib.niri.actions; {