nix/modules/services/dunst/default.nix

36 lines
801 B
Nix
Raw Normal View History

2024-09-16 22:05:52 +02:00
{ lib, ... }: {
2024-08-31 16:04:57 +02:00
home-manager.users.joy.services.dunst = {
enable = true;
2024-09-16 22:05:52 +02:00
settings = {
global = {
background = lib.mkForce "#282828";
foreground = lib.mkForce "#D5C4A1";
geometry = "300x60-3+200";
padding = 8;
horizontal_padding = 8;
separator_height = 2;
frame_width = 4;
corner_radius = 5;
font = lib.mkForce "DejaVuSansMono 12";
alignment = "center";
vertical_alignment = "center";
ellipsize = "middle";
ignore_newline = false;
};
2024-08-31 16:04:57 +02:00
2024-09-16 22:05:52 +02:00
urgency_low = {
frame_color = lib.mkForce "#98971a";
};
2024-08-31 16:04:57 +02:00
2024-09-16 22:05:52 +02:00
urgency_normal = {
frame_color = lib.mkForce "#458588";
};
2024-08-31 16:04:57 +02:00
2024-09-16 22:05:52 +02:00
urgency_critical = {
frame_color = lib.mkForce "#98971a";
};
};
2024-08-31 16:04:57 +02:00
};
}