deprecate stylix, fix minor gripes and bugs

This commit is contained in:
alisceon 2026-05-22 19:48:24 +02:00
parent 6b492bad2f
commit fb1ad8d919
42 changed files with 951 additions and 688 deletions

View file

@ -1,12 +1,21 @@
{ ... }:
{ theme, ... }:
let
p = theme.palette;
fonts = theme.fonts;
fontSize = toString fonts.sizes.applications;
in
{
services.mako = {
enable = true;
settings = {
actions = true;
anchor = "top-center";
background-color = "${p.darkestGray}FF";
border-color = p.purple;
border-radius = 0;
default-timeout = 10000;
font = "${fonts.sansSerif.name} ${fontSize}";
height = 100;
width = 600;
icons = true;
@ -14,6 +23,18 @@
layer = "overlay";
margin = 10;
markup = true;
progress-color = "over ${p.darkGray}";
text-color = p.lightGray;
"urgency=critical" = {
background-color = "${p.darkestGray}FF";
border-color = p.red;
text-color = p.lightGray;
};
"urgency=low" = {
background-color = "${p.darkestGray}FF";
border-color = p.gray;
text-color = p.lightGray;
};
};
};
}