add mako config

This commit is contained in:
Fabian Montero 2025-08-09 14:11:14 -06:00
parent a715f50f2b
commit 4807859d85
Signed by: fabian
GPG key ID: 1FFAC35E1798174F
2 changed files with 29 additions and 4 deletions

View file

@ -52,13 +52,10 @@ in {
./theme.nix
./sway.nix
./waybar.nix
./mako.nix
];
config = mkIf cfg.enable {
services = {
mako.enable = true;
};
xdg = {
enable = true;
mimeApps = {

28
home/modules/gui/mako.nix Normal file
View file

@ -0,0 +1,28 @@
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.local.gui;
in {
config = mkIf cfg.enable {
services.mako = {
enable = true;
settings = {
actions = true;
anchor = "top-right";
background-color = "#000000";
border-color = "#000000";
progress-color="over #FFFFFF";
border-radius = 0;
default-timeout = 7000;
font = "JetBrains Mono 10";
icons = true;
ignore-timeout = false;
layer = "top";
};
};
};
}