feat: add dunst

This commit is contained in:
mandlm 2023-09-29 07:51:31 +02:00
parent b9208d7d61
commit c3b8484112
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 35 additions and 0 deletions

View File

@ -8,6 +8,7 @@ in
{
imports = [
./i3status-rust.nix
./dunst.nix
];
home.packages = with pkgs; [

View File

@ -0,0 +1,34 @@
{ config, lib, pkgs, user, ... }:
{
services.dunst = {
enable = true;
settings = {
global = {
follow = "keyboard";
font = "DejaVu Sans Mono 11";
frame_width = 1;
};
urgency_low = {
frame_color = "#268bd2";
foreground = "#eee8d5";
background = "#002b36";
timeout = 4;
};
urgency_normal = {
frame_color = "#859900";
foreground = "#eee8d5";
background = "#002b36";
timeout = 6;
};
urgency_critical = {
frame_color = "#dc322f";
foreground = "#eee8d5";
background = "#002b36";
timeout = 8;
};
};
};
}