mako: make colors and border more consistent with windowmanager themes

This commit is contained in:
Aly Raffauf 2024-05-15 15:31:02 -04:00
parent 4444955c2c
commit 294fd9fa9c

View file

@ -4,14 +4,15 @@
config, config,
... ...
}: { }: {
options = {alyraffauf.apps.mako.enable = lib.mkEnableOption "Enables mako.";}; options = {alyraffauf.apps.mako.enable = lib.mkEnableOption "Mako notification daemon.";};
config = lib.mkIf config.alyraffauf.apps.mako.enable { config = lib.mkIf config.alyraffauf.apps.mako.enable {
services.mako = { services.mako = {
enable = true; enable = true;
anchor = "top-center"; anchor = "top-center";
backgroundColor = "${config.alyraffauf.desktop.theme.colors.background}CC"; backgroundColor = "${config.alyraffauf.desktop.theme.colors.background}CC";
borderColor = "${config.alyraffauf.desktop.theme.colors.primary}"; borderColor = "${config.alyraffauf.desktop.theme.colors.primary}EE";
borderSize = 2;
borderRadius = 10; borderRadius = 10;
defaultTimeout = 10000; defaultTimeout = 10000;
font = "${config.alyraffauf.desktop.theme.font.name} Regular ${toString config.alyraffauf.desktop.theme.font.size}"; font = "${config.alyraffauf.desktop.theme.font.name} Regular ${toString config.alyraffauf.desktop.theme.font.size}";