2025-04-11 09:20:46 +02:00
|
|
|
{ ... }:
|
|
|
|
{
|
2025-03-12 02:00:13 +01:00
|
|
|
programs.niri.settings = {
|
2025-04-11 09:20:46 +02:00
|
|
|
prefer-no-csd = true;
|
2025-03-12 08:04:04 +01:00
|
|
|
|
2025-03-12 02:00:13 +01:00
|
|
|
cursor = {
|
2025-03-12 08:04:04 +01:00
|
|
|
theme = "phinger-cursors-dark";
|
2025-03-12 02:00:13 +01:00
|
|
|
size = 16;
|
|
|
|
hide-when-typing = true;
|
2025-03-14 16:01:58 +01:00
|
|
|
hide-after-inactive-ms = 10000;
|
2025-03-12 02:00:13 +01:00
|
|
|
};
|
|
|
|
|
2025-04-16 12:57:21 +02:00
|
|
|
animations.window-open.easing = {
|
|
|
|
curve = "linear";
|
2025-04-25 17:09:21 +02:00
|
|
|
duration-ms = 230;
|
2025-04-16 12:57:21 +02:00
|
|
|
};
|
|
|
|
animations.shaders.window-open = builtins.readFile ./shaders/glitch-open.frag;
|
|
|
|
|
2025-03-12 02:00:13 +01:00
|
|
|
layout = {
|
|
|
|
gaps = 15;
|
|
|
|
focus-ring.enable = false;
|
|
|
|
border = {
|
|
|
|
enable = true;
|
|
|
|
width = 3;
|
|
|
|
inactive.gradient = {
|
|
|
|
from = "#f69ecf";
|
|
|
|
to = "#ff9a56";
|
|
|
|
in' = "oklch shorter hue";
|
|
|
|
relative-to = "window";
|
|
|
|
angle = 135;
|
|
|
|
};
|
|
|
|
active.gradient = {
|
|
|
|
from = "#f69ecf";
|
|
|
|
to = "#5bcefa";
|
|
|
|
in' = "oklch shorter hue";
|
|
|
|
relative-to = "window";
|
|
|
|
angle = 135;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
center-focused-column = "never";
|
|
|
|
empty-workspace-above-first = false;
|
|
|
|
tab-indicator = {
|
|
|
|
hide-when-single-tab = true;
|
|
|
|
active.color = "#5bcefa";
|
|
|
|
inactive.color = "#3c3836";
|
2025-03-13 17:33:50 +01:00
|
|
|
gap = 2;
|
|
|
|
width = 5;
|
2025-04-11 09:20:46 +02:00
|
|
|
corner-radius = 3;
|
2025-03-12 02:00:13 +01:00
|
|
|
position = "left";
|
|
|
|
gaps-between-tabs = 0;
|
|
|
|
};
|
|
|
|
};
|
2025-04-11 09:20:46 +02:00
|
|
|
|
2025-03-12 05:23:27 +01:00
|
|
|
window-rules = [
|
2025-04-11 09:20:46 +02:00
|
|
|
{
|
|
|
|
matches = [
|
|
|
|
{
|
|
|
|
is-floating = true;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
baba-is-float = true;
|
|
|
|
shadow = {
|
|
|
|
offset.y = 0;
|
|
|
|
offset.x = 0;
|
|
|
|
softness = 40;
|
|
|
|
color = "#bab9e5af";
|
|
|
|
inactive-color = "#fa9d99af";
|
|
|
|
enable = true;
|
2025-03-12 02:00:13 +01:00
|
|
|
};
|
2025-04-11 09:20:46 +02:00
|
|
|
}
|
|
|
|
{
|
|
|
|
geometry-corner-radius =
|
|
|
|
let
|
|
|
|
val = 1.;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
bottom-left = val;
|
|
|
|
bottom-right = val;
|
|
|
|
top-left = val;
|
|
|
|
top-right = val;
|
|
|
|
};
|
2025-03-12 02:00:13 +01:00
|
|
|
clip-to-geometry = true;
|
2025-04-11 09:20:46 +02:00
|
|
|
}
|
|
|
|
];
|
2025-03-12 02:00:13 +01:00
|
|
|
};
|
|
|
|
}
|