mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-25 21:30:52 +01:00
44 lines
813 B
Nix
44 lines
813 B
Nix
{ config, lib, ... }:
|
|
let
|
|
cfg = config.luj.programs.dunst;
|
|
in
|
|
with lib;
|
|
{
|
|
options.luj.programs.dunst = {
|
|
enable = mkEnableOption "Enable Dunst";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
services.dunst = {
|
|
enable = true;
|
|
settings = {
|
|
global = {
|
|
monitor = 0;
|
|
corner_radius = 5;
|
|
frame_color = "#89B4FA";
|
|
frame_width = 0;
|
|
separator_color = "frame";
|
|
};
|
|
|
|
urgency_low = {
|
|
background = "#1E1E2E";
|
|
foreground = "#CDD6F4";
|
|
};
|
|
urgency_normal = {
|
|
background = "#1E1E2E";
|
|
foreground = "#CDD6F4";
|
|
};
|
|
|
|
urgency_critical = {
|
|
background = "#1E1E2E";
|
|
foreground = "#CDD6F4";
|
|
frame_color = "#FAB387";
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
};
|
|
|
|
}
|