dotfiles/nixos/i3/dunst.nix

52 lines
1.1 KiB
Nix
Raw Normal View History

2020-01-10 23:32:05 +00:00
{ config, pkgs, ... }:
{
services.dunst = {
enable = true;
2020-01-11 14:13:01 +00:00
settings = {
global = {
2020-01-12 12:51:00 +00:00
font = "DejaVu Sans Mono for Powerline 10";
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";
timeout = 3;
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";
timeout = 5;
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";
timeout = 8;
2020-01-11 14:13:01 +00:00
};
};
2020-01-10 23:32:05 +00:00
};
}