32 lines
709 B
Nix
32 lines
709 B
Nix
{ pkgs, config, ... }:
|
|
{
|
|
services.dunst = {
|
|
enable = true;
|
|
package = pkgs.dunst;
|
|
|
|
# docs: https://dunst-project.org/documentation/
|
|
settings = {
|
|
global = {
|
|
width = 300;
|
|
height = 300;
|
|
offset = "30x50";
|
|
origin = "top-right";
|
|
|
|
# 0 is the most opaque, 100 is completely transparent
|
|
transparency = 40;
|
|
|
|
# have consistancy between niri frame color and dunst
|
|
frame_color = config.programs.niri.settings.layout.focus-ring.active.color;
|
|
|
|
font = "JetBrains Mono Nerd Font 9";
|
|
};
|
|
|
|
urgency_normal = {
|
|
# background = "#37474f";
|
|
# foreground = "#eceff1";
|
|
timeout = 10;
|
|
};
|
|
};
|
|
};
|
|
}
|