From 5fbe98b1f7c543a2d02347963ded816476f41e07 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 5 Dec 2015 13:33:12 +1300 Subject: Add config and commands for dunst(1) Pretty much sold on it at the moment --- Makefile | 5 +++++ X/xinitrc | 3 +++ dunst/dunstrc | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 dunst/dunstrc diff --git a/Makefile b/Makefile index 671ce397..38af1c19 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,7 @@ install-bin \ install-curl \ install-dircolors \ + install-dunst \ install-git \ install-gtk \ install-gnupg \ @@ -96,6 +97,10 @@ install-curl : install-dircolors : install -pm 0644 -- dircolors/dircolors "$(HOME)"/.dircolors +install-dunst : install-x + install -m 0755 -d -- "$(HOME)"/.config/dunst + install -pm 0644 -- dunst/dunstrc "$(HOME)"/.config/dunst + install-git : install -pm 0644 -- git/gitconfig "$(HOME)"/.gitconfig diff --git a/X/xinitrc b/X/xinitrc index c0db901d..40657771 100644 --- a/X/xinitrc +++ b/X/xinitrc @@ -10,6 +10,9 @@ setxkbmap -option compose:ralt,ctrl:nocaps,terminate:ctrl_alt_bksp # Edited cover of Darkthrone's 1992 album "A Blaze in the Northern Sky" feh --bg-scale --no-fehbg -- "$HOME"/.xbackgrounds/blaze.jpg +# Start dunst(1) to display libnotify messages +dunst & + # Start redshift(1) redshift & diff --git a/dunst/dunstrc b/dunst/dunstrc new file mode 100644 index 00000000..31f255a3 --- /dev/null +++ b/dunst/dunstrc @@ -0,0 +1,49 @@ +[global] + alignment = left + allow_markup = no + bounce_freq = 0 + browser = palemoon + dmenu = dmenu -p dunst: + follow = mouse + font = Verdana 11 Bold + format = "%s %b" + geometry = "350x5-0-17" + history_length = 20 + horizontal_padding = 8 + icon_position = off + idle_threshold = 0 + ignore_newline = no + indicate_hidden = no + line_height = 0 + monitor = 0 + padding = 8 + separator_color = frame + separator_height = 0 + show_age_threshold = -1 + show_indicators = no + shrink = no + sort = yes + startup_notification = false + sticky_history = yes + transparency = 0 + word_wrap = yes + +[frame] + width = 1 + color = "#333333" + +[urgency_low] + background = "#222222" + foreground = "#bbbbbb" + timeout = 10 + +[urgency_normal] + background = "#285577" + foreground = "#ffffff" + timeout = 10 + +[urgency_critical] + background = "#900000" + foreground = "#ffffff" + timeout = 0 + -- cgit v1.2.3