aboutsummaryrefslogtreecommitdiffstats
path: root/dunst/.config/dunst/dunstrc.org
blob: 0764d6ec25da9e15ebfcbfd001b0f5a9113b8c46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
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