dotfiles/nixos/i3/dunst.nix
Cyryl Płotnicki 96ff311243 prettier dunst
2020-01-12 12:51:00 +00:00

51 lines
1.1 KiB
Nix

{ config, pkgs, ... }:
{
services.dunst = {
enable = true;
settings = {
global = {
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";
};
low = {
msg_urgency = "low";
frame_color = "#3B7C87";
foreground = "#3B7C87";
background = "#191311";
timeout = 3;
};
normal = {
msg_urgency = "normal";
frame_color = "#5B8234";
foreground = "#5B8234";
background = "#191311";
timeout = 5;
};
critical = {
msg_urgency = "critical";
frame_color = "#B7472A";
foreground = "#B7472A";
background = "#191311";
timeout = 8;
};
};
};
}