aboutsummaryrefslogtreecommitdiffstats
path: root/dunst
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-10-07 17:22:25 +0200
committerGravatar Tom Willemse2016-10-07 17:22:25 +0200
commit79a7d1fc74c86f3f57685ca263a812c2bbe83287 (patch)
tree20ddb35ab2f557212b7763b4b3c6f40dbe15d76d /dunst
parent68f0cd39e8f4e0c579e8d7620bcbeff396fef94f (diff)
downloadnew-dotfiles-79a7d1fc74c86f3f57685ca263a812c2bbe83287.tar.gz
new-dotfiles-79a7d1fc74c86f3f57685ca263a812c2bbe83287.zip
Add dunst config
Diffstat (limited to 'dunst')
-rw-r--r--dunst/.config/dunst/.gitignore1
-rw-r--r--dunst/.config/dunst/GNUmakefile6
-rw-r--r--dunst/.config/dunst/dunstrc.org278
3 files changed, 285 insertions, 0 deletions
diff --git a/dunst/.config/dunst/.gitignore b/dunst/.config/dunst/.gitignore
new file mode 100644
index 0000000..c4acea1
--- /dev/null
+++ b/dunst/.config/dunst/.gitignore
@@ -0,0 +1 @@
+dunstrc
diff --git a/dunst/.config/dunst/GNUmakefile b/dunst/.config/dunst/GNUmakefile
new file mode 100644
index 0000000..b4092f9
--- /dev/null
+++ b/dunst/.config/dunst/GNUmakefile
@@ -0,0 +1,6 @@
+include ../../../dotfiles.mk
+
+all: dunstrc
+
+%: %.org
+ $(call tangle,conf-unix)
diff --git a/dunst/.config/dunst/dunstrc.org b/dunst/.config/dunst/dunstrc.org
new file mode 100644
index 0000000..0764d6e
--- /dev/null
+++ b/dunst/.config/dunst/dunstrc.org
@@ -0,0 +1,278 @@
+* Global config
+
+ #+BEGIN_SRC conf-unix
+ [global]
+ #+END_SRC
+
+ Use a nice font.
+
+ #+BEGIN_SRC conf-unix
+ font = Fantasque Sans Mono 15
+ #+END_SRC
+
+ Allow markup like =<b>=, =<i>=, =<s>= and =<u>= in messages. See
+ [[http://developer.gnome.org/pango/stable/PangoMarkupFormat.html][Pango Markup Format]] for more info.
+
+ #+BEGIN_SRC conf-unix
+ allow_markup = yes
+ #+END_SRC
+
+ Show the summary and body in messages.
+
+ #+BEGIN_SRC conf-unix
+ format = "<u>%s</u>\n\n%b"
+ #+END_SRC
+
+ Sort messages by urgency
+
+ #+BEGIN_SRC conf-unix
+ sort = yes
+ #+END_SRC
+
+ Show how many messages are curently hidden (because of geometry).
+
+ #+BEGIN_SRC conf-unix
+ indicate_hidden = yes
+ #+END_SRC
+
+ Left-align messages.
+
+ #+BEGIN_SRC conf-unix
+ alignment = left
+ #+END_SRC
+
+ Don't "bounce" long messages back and forth.
+
+ #+BEGIN_SRC conf-unix
+ bounce_freq = 0
+ #+END_SRC
+
+ Show a message's age if it's more than a minute old.
+
+ #+BEGIN_SRC conf-unix
+ show_age_threshold = 60
+ #+END_SRC
+
+ Split long messages into multiple lines.
+
+ #+BEGIN_SRC conf-unix
+ word_wrap = yes
+ #+END_SRC
+
+ Allow newlines in messages.
+
+ #+BEGIN_SRC conf-unix
+ ignore_newline = no
+ #+END_SRC
+
+ Show messages at the top-right of the monitor.
+
+ #+BEGIN_SRC conf-unix
+ geometry = "600x5-30+20"
+ #+END_SRC
+
+ Shrink messages to fit their content if it's smaller than the
+ specified geometry.
+
+ #+BEGIN_SRC conf-unix
+ shrink = yes
+ #+END_SRC
+
+ Keep messages opaque to keep them properly readable.
+
+ #+BEGIN_SRC conf-unix
+ transparency = 0
+ #+END_SRC
+
+ Keep showing messages after two minutes of idle time.
+
+ #+BEGIN_SRC conf-unix
+ idle_threshold = 120
+ #+END_SRC
+
+ Always show messages on the primary monitor.
+
+ #+BEGIN_SRC conf-unix
+ monitor = 0
+ #+END_SRC
+
+ Don't follow focus when showing messages, so don't show it on the
+ secondary monitor if that's where I'm working.
+
+ #+BEGIN_SRC conf-unix
+ follow = none
+ #+END_SRC
+
+ Don't use a timeout when showing messages from history, keep them
+ visible.
+
+ #+BEGIN_SRC conf-unix
+ sticky_history = yes
+ #+END_SRC
+
+ Make lines the same height as their font.
+
+ #+BEGIN_SRC conf-unix
+ line_height = 0
+ #+END_SRC
+
+ Show a separator between messages.
+
+ #+BEGIN_SRC conf-unix
+ separator_height = 2
+ #+END_SRC
+
+ Add some padding around each message.
+
+ #+BEGIN_SRC conf-unix
+ padding = 15
+ horizontal_padding = 15
+ #+END_SRC
+
+ Automatically pick a separator color between the messages.
+
+ #+BEGIN_SRC conf-unix
+ separator_color = auto
+ #+END_SRC
+
+ Don't show a message when dunst starts.
+
+ #+BEGIN_SRC conf-unix
+ startup_notification = false
+ #+END_SRC
+
+ Tell dunst about dmenu, but actually use rofi.
+
+ #+BEGIN_SRC conf-unix
+ dmenu = /usr/bin/rofi -dmenu -p dunst:
+ #+END_SRC
+
+ Tell dunst about Conkeror.
+
+ #+BEGIN_SRC conf-unix
+ browser = conkeror
+ #+END_SRC
+
+ Show icons to the left of their messages.
+
+ #+BEGIN_SRC conf-unix
+ icon_position = left
+ #+END_SRC
+
+ Look for icons in the following paths.
+
+ #+BEGIN_SRC conf-unix
+ icon_folders = /usr/share/icons/gnome/24x24/status/:/usr/share/icons/gnome/24x24/devices/:/usr/share/icons/hicolor/24x24/apps/
+ #+END_SRC
+
+* Frame
+
+ #+BEGIN_SRC conf-unix
+ [frame]
+ #+END_SRC
+
+ Show a border around each message.
+
+ #+BEGIN_SRC conf-unix
+ width = 2
+ #+END_SRC
+
+ Give it a proper color.
+
+ #+BEGIN_SRC conf-unix
+ color = "#3d3d3d"
+ #+END_SRC
+
+* Keyboard shortcuts
+
+ #+BEGIN_SRC conf-unix
+ [shortcuts]
+ #+END_SRC
+
+ Use Mod4+m to close the latest message.
+
+ #+BEGIN_SRC conf-unix
+ close = mod4+m
+ #+END_SRC
+
+ Use Mod4+Shift+m to close all messages.
+
+ #+BEGIN_SRC conf-unix
+ close_all = mod4+shift+m
+ #+END_SRC
+
+ Use Mod4+Control+m to retrieve a message from history.
+
+ #+BEGIN_SRC conf-unix
+ history = mod4+ctrl+m
+ #+END_SRC
+
+ Use Mod4+Alt+m to show the context menu.
+
+ #+BEGIN_SRC conf-unix
+ context = mod4+mod1+m
+ #+END_SRC
+
+* Styles
+
+ #+BEGIN_SRC conf-unix
+ [urgency_low]
+ background = "#405c2e"
+ foreground = "#eeeeec"
+ timeout = 10
+
+ [urgency_normal]
+ background = "#222224"
+ foreground = "#eeeeec"
+ timeout = 10
+
+ [urgency_critical]
+ background = "#973732"
+ foreground = "#eeeeec"
+ timeout = 0
+ #+END_SRC
+
+** Emacs
+
+ #+BEGIN_SRC conf-unix
+ [Emacs]
+ appname = Emacs
+ background = "#7f5ab6"
+ foreground = "#fafafa"
+ #+END_SRC
+
+** Metal Express Radio
+
+ #+BEGIN_SRC conf-unix
+ [Metal Express Radio]
+ appname = Metal Express Radio
+ background = "#ef4136"
+ feroground = "#ffffff"
+ #+END_SRC
+
+** Syncthing
+
+ #+BEGIN_SRC conf-unix
+ [Syncthing]
+ appname = Syncthing GTK
+ background = "#337ab7"
+ foreground = "#ffffff"
+ #+END_SRC
+
+** Lollypop
+
+ #+BEGIN_SRC conf-unix
+ [Lollypop]
+ appname = Lollypop
+ background = "#fd3e75"
+ foreground = "#ffffff"
+ #+END_SRC
+
+** gPodder
+
+ #+BEGIN_SRC conf-unix
+ [gPodder]
+ appname = gPodder
+ background = "#7f5785"
+ foreground = "#ffffff"
+ #+END_SRC