aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-12-05 13:33:12 +1300
committerTom Ryder <tom@sanctum.geek.nz>2015-12-05 13:33:12 +1300
commit5fbe98b1f7c543a2d02347963ded816476f41e07 (patch)
treefe5e8ca3dd1d632f7490cc15c381b8e43004f00d
parentPreserve modification times of installed files (diff)
downloaddotfiles-5fbe98b1f7c543a2d02347963ded816476f41e07.tar.gz
dotfiles-5fbe98b1f7c543a2d02347963ded816476f41e07.zip
Add config and commands for dunst(1)
Pretty much sold on it at the moment
-rw-r--r--Makefile5
-rw-r--r--X/xinitrc3
-rw-r--r--dunst/dunstrc49
3 files changed, 57 insertions, 0 deletions
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
+