feat: add dunst

main
mandlm 2023-09-29 07:51:31 +02:00
parent edf8967c10
commit ea81d83137
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 35 additions and 0 deletions

View File

@ -6,6 +6,7 @@ in
{ {
imports = [ imports = [
./i3status-rust.nix ./i3status-rust.nix
./dunst.nix
]; ];
home.packages = with pkgs; [ 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;
};
};
};
}