mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-23 01:43:56 -05:00
30 lines
736 B
Nix
30 lines
736 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.ar.home.apps.mako.enable {
|
|
services.mako = {
|
|
enable = true;
|
|
anchor = "top-center";
|
|
backgroundColor = "${config.ar.home.theme.colors.background}CC";
|
|
borderColor = "${config.ar.home.theme.colors.primary}EE";
|
|
borderSize = 2;
|
|
borderRadius = 10;
|
|
defaultTimeout = 10000;
|
|
font = "${config.ar.home.theme.font.name} Regular ${toString config.ar.home.theme.font.size}";
|
|
height = 300;
|
|
layer = "top";
|
|
padding = "15";
|
|
textColor = "${config.ar.home.theme.colors.text}";
|
|
width = 400;
|
|
margin = "20,0";
|
|
extraConfig = ''
|
|
[mode=do-not-disturb]
|
|
invisible=1
|
|
'';
|
|
};
|
|
};
|
|
}
|