Cleanup dunst config

This commit is contained in:
Valentin Brandl 2022-11-14 00:16:32 +01:00
parent 3e4cd63664
commit 66708b0c1c
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -2,56 +2,35 @@
services.dunst = {
enable = true;
settings = {
/* https://dunst-project.org/static/dunstrc1 */
global = {
font = "Monospace 8";
allow_markup = true;
format = "<b>%a:</b> %s\n%b";
sort = true;
indicate_hidden = true;
alignment = "left";
bounce_freq = 0;
show_age_threshold = 60;
word_wrap = true;
follow = true;
format = "<b>%s</b>\n%b";
markup = "full";
alignment = "center";
vertical_alignment = "center";
ignore_newline = false;
geometry = "300x5-30+20";
transparency = 0;
idle_threshold = 120;
monitor = 0;
follow = "keyboard";
indicate_hidden = true;
progress_bar = true;
word_wrap = true;
sticky_history = true;
line_height = 0;
separator_height = 2;
padding = 8;
horizontal_padding = 8;
separator_color = "frame";
startup_notification = true;
dmenu = "dmenu -p dunst:";
browser = "firefox -new-tab";
};
frame = {
width = 0;
color = "#000000";
};
shortcuts = {
close = "mod4+m";
close_all = "mod4+shift+m";
history = "mod4+n";
context = "mod4+shift+i";
mouse_left_click = "close_current";
mouse_middle_click = "do_action, close_current";
};
urgency_low = {
background = "#222222";
foreground = "#888888";
timeout = 10;
frame_color = "#3B7C87";
foreground = "#3B7C87";
background = "#191311";
};
urgency_normal = {
background = "#285577";
foreground = "#ffffff";
timeout = 10;
frame_color = "#5B8234";
foreground = "#5B8234";
background = "#191311";
};
urgency_critical = {
background = "#900000";
foreground = "#ffffff";
timeout = 0;
frame_color = "#B7472A";
foreground = "#B7472A";
background = "#191311";
};
};
};