nix-config/home/dunst.nix

37 lines
685 B
Nix
Raw Normal View History

2023-06-22 17:13:46 +02:00
{ pkgs, ... }:
let
inherit (pkgs) libnotify papirus-icon-theme;
in
2023-06-22 17:13:46 +02:00
{
home.packages = [ libnotify ];
2023-05-17 15:23:38 +02:00
services.dunst = {
enable = true;
2023-05-17 15:23:38 +02:00
iconTheme = {
package = papirus-icon-theme;
name = "Papirus";
};
settings = {
global = {
geometry = "1870x5-25+45";
width = 350;
separator_height = 5;
padding = 24;
horizontal_padding = 24;
frame_width = 3;
idle_threshold = 120;
alignment = "center";
word_wrap = "yes";
transparency = 5;
format = "<b>%s</b>: %b";
markup = "full";
min_icon_size = 32;
max_icon_size = 128;
};
};
};
}