Skip to content

Instantly share code, notes, and snippets.

@rycee
Created October 29, 2017 22:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rycee/1ad8654856ce8519f2270b18d27b76d5 to your computer and use it in GitHub Desktop.
Save rycee/1ad8654856ce8519f2270b18d27b76d5 to your computer and use it in GitHub Desktop.
{
# …
services.dunst = {
enable = true;
settings = {
global = {
browser = "${config.programs.firefox.package}/bin/firefox -new-tab";
dmenu = "${pkgs.rofi}/bin/rofi -dmenu";
follow = "mouse";
font = "Droid Sans 10";
format = "<b>%s</b>\\n%b";
frame_color = "#555555";
frame_width = 2;
geometry = "500x5-5+30";
horizontal_padding = 8;
icon_position = "off";
line_height = 0;
markup = "full";
padding = 8;
separator_color = "frame";
separator_height = 2;
transparency = 10;
word_wrap = true;
};
urgency_low = {
background = "#1d1f21";
foreground = "#4da1af";
frame_color = "#4da1af";
timeout = 10;
};
urgency_normal = {
background = "#1d1f21";
foreground = "#70a040";
frame_color = "#70a040";
timeout = 15;
};
urgency_critical = {
background = "#1d1f21";
foreground = "#dd5633";
frame_color = "#dd5633";
timeout = 0;
};
shortcuts = {
context = "mod4+grave";
close = "mod4+shift+space";
};
};
};
# …
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment