dotfiles/nixos/i3/dunst.nix

55 lines
1.1 KiB
Nix
Raw Normal View History

2022-12-19 09:09:08 +00:00
{
config,
pkgs,
...
}: {
2020-01-10 23:32:05 +00:00
services.dunst = {
enable = true;
2020-01-11 14:13:01 +00:00
settings = {
global = {
2022-03-09 22:26:40 +00:00
font = "Berkeley Mono 10";
2020-01-12 12:51:00 +00:00
sort = "yes";
indicate_hidden = "yes";
word_wrap = "yes";
stack_duplicates = "yes";
hide_duplicates_count = "yes";
geometry = "300x50-15+49";
shrink = "no";
transparency = 5;
line_height = 3;
padding = 6;
horizontal_padding = 6;
separator_color = "frame";
icon_position = "off";
max_icon_size = 80;
frame_width = 3;
frame_color = "#8EC07C";
2020-01-11 14:13:01 +00:00
};
low = {
msg_urgency = "low";
2020-01-12 12:51:00 +00:00
frame_color = "#3B7C87";
foreground = "#3B7C87";
background = "#191311";
2020-04-19 12:27:46 +01:00
timeout = 5;
2020-01-11 14:13:01 +00:00
};
normal = {
msg_urgency = "normal";
2020-01-12 12:51:00 +00:00
frame_color = "#5B8234";
foreground = "#5B8234";
background = "#191311";
2020-04-19 12:27:46 +01:00
timeout = 8;
2020-01-11 14:13:01 +00:00
};
critical = {
msg_urgency = "critical";
2020-01-12 12:51:00 +00:00
frame_color = "#B7472A";
foreground = "#B7472A";
background = "#191311";
2020-04-19 12:27:46 +01:00
timeout = 15;
2020-01-11 14:13:01 +00:00
};
};
2020-01-10 23:32:05 +00:00
};
}