Add dunst config
This commit is contained in:
parent
68f0cd39e8
commit
79a7d1fc74
3 changed files with 285 additions and 0 deletions
1
dunst/.config/dunst/.gitignore
vendored
Normal file
1
dunst/.config/dunst/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
dunstrc
|
6
dunst/.config/dunst/GNUmakefile
Normal file
6
dunst/.config/dunst/GNUmakefile
Normal file
|
@ -0,0 +1,6 @@
|
|||
include ../../../dotfiles.mk
|
||||
|
||||
all: dunstrc
|
||||
|
||||
%: %.org
|
||||
$(call tangle,conf-unix)
|
278
dunst/.config/dunst/dunstrc.org
Normal file
278
dunst/.config/dunst/dunstrc.org
Normal file
|
@ -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
|
Loading…
Reference in a new issue