mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 09:03:51 +00:00
44 lines
1 KiB
Nix
44 lines
1 KiB
Nix
{ lib, config, True, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.module.wm.misc.mako;
|
|
in {
|
|
options = { module.wm.misc.mako = { enable = mkEnableOption ""; }; };
|
|
|
|
config = mkIf cfg.enable {
|
|
services.mako = with config.lib.stylix.colors;
|
|
True // {
|
|
icons = true;
|
|
actions = false;
|
|
anchor = "top-right";
|
|
font = "JetBrainsMono NerdFont";
|
|
# DECORATION
|
|
borderRadius = 8;
|
|
borderSize = 2;
|
|
# COLORS
|
|
backgroundColor = "#${base01}";
|
|
borderColor = "#${base0E}";
|
|
textColor = "#${base06}";
|
|
extraConfig = ''
|
|
[urgency=low]
|
|
background-color=#${base00}
|
|
border-color=#${base0C}
|
|
text-color=#${base06}
|
|
|
|
[urgency=high]
|
|
background-color=#${base00}
|
|
border-color=#${base0C}
|
|
text-color=#${base06}
|
|
'';
|
|
# SETTINGS
|
|
layer = "overlay";
|
|
sort = "+time";
|
|
margin = "20, 20, 20";
|
|
maxVisible = 5;
|
|
defaultTimeout = 0;
|
|
};
|
|
};
|
|
}
|
|
|