@@ -20,7 +20,9 @@ filters: it applies to all notifications.
20
20
21
21
See RULES for more details.
22
22
23
- All experimental settings are marked with I<Experimental>.
23
+ The "experimental" section contains experimental and unstable settings.
24
+ These options can change in breaking ways between releases.
25
+ If you find a problem with these new features, make sure to report it.
24
26
25
27
=head2 Global section
26
28
@@ -31,7 +33,7 @@ All experimental settings are marked with I<Experimental>.
31
33
Specifies on which monitor the notifications should be displayed in, either by
32
34
name or by number, starting from 0. See the B<follow> setting.
33
35
34
- =item B<follow> (values: [none/mouse/keyboard] default: none)
36
+ =item B<follow> (values: [none/mouse/keyboard], default: none)
35
37
36
38
Defines where the notifications should be placed in a multi-monitor setup. All
37
39
values except I<none> override the B<monitor> setting.
@@ -148,7 +150,7 @@ Origin can be one of:
148
150
center
149
151
right-center
150
152
151
- =item B<offset> format: (horizontal, vertical)
153
+ =item B<offset> ( format: (horizontal, vertical), default: (10, 50) )
152
154
153
155
Respectively the horizontal and vertical offset in pixels from the corner
154
156
of the screen specified by B<origin>. A negative offset will lead to the
@@ -164,7 +166,7 @@ For backwards compatibility this syntax is also accepted.
164
166
165
167
offset = 10x300
166
168
167
- =item B<scale> (default: 0, X11 only)
169
+ =item B<scale> (default: 0) ( X11 only)
168
170
169
171
Specifies a scale factor for dimensions to adapt notifications to
170
172
HiDPI screens. This scales the notification geometry and it's
@@ -304,7 +306,7 @@ of size B<frame_width> will be drawn around each notification instead.
304
306
This setting requires a compositor and any applications displayed between the
305
307
gaps are not currently clickable.
306
308
307
- =item B<separator_color> (values: [auto/foreground/frame/#RRGGBB] default: frame)
309
+ =item B<separator_color> (values: [auto/foreground/frame/#RRGGBB], default: frame)
308
310
309
311
Sets the color of the separator line between two notifications.
310
312
@@ -422,7 +424,7 @@ For a complete markup reference, see
422
424
423
425
=item B<%n> progress value without any extra characters
424
426
425
- =item B<%%> Literal %
427
+ =item B<%%> literal %
426
428
427
429
=back
428
430
@@ -489,7 +491,7 @@ https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.ht
489
491
490
492
If the theme inherits from other themes, they will be used as a backup.
491
493
492
- This setting is experimental and not enabled by default. See
494
+ This setting is not enabled by default. See
493
495
B<enable_recursive_icon_lookup> for how to enable it.
494
496
495
497
=item B<enable_recursive_icon_lookup> (default: false)
@@ -691,6 +693,17 @@ See the example configuration file for examples.
691
693
Old version of dunst allowed changing the colors of different urgencies through
692
694
command line options. This has been long removed in favour of RULES, see issue #328.
693
695
696
+ =head2 Experimental section
697
+
698
+ =over 4
699
+
700
+ =item B<per_monitor_dpi> (default: false)
701
+
702
+ Use different DPI for each monitor.
703
+ This setting is currently implemented only for X11.
704
+
705
+ =back
706
+
694
707
=head1 DUNSTCTL
695
708
696
709
Dunst now contains a command line control command that can be used to interact
@@ -796,7 +809,7 @@ The allowed attributes are listed below.
796
809
797
810
=over 4
798
811
799
- =item C<appname> (discouraged, see desktop_entry)
812
+ =item C<appname> (see also desktop_entry)
800
813
801
814
The name of the application as reported by the client. Be aware that the name
802
815
can often differ depending on the locale used.
@@ -1139,56 +1152,71 @@ See RULES for more detailed explanations for some options.
1139
1152
1140
1153
=over 4
1141
1154
1142
- =item B<fgcolor>
1155
+ =item B<fgcolor> (type: string)
1143
1156
1144
1157
Foreground color.
1145
1158
1146
- =item B<bgcolor>
1159
+ =item B<bgcolor> (type: string)
1147
1160
1148
1161
Background color.
1149
1162
1150
- =item B<frcolor>
1163
+ =item B<frcolor> (type: string)
1151
1164
1152
1165
Frame color.
1153
1166
1154
- =item B<hlcolor>
1167
+ =item B<hlcolor> (type: string or string array)
1155
1168
1156
1169
Highlight color.
1157
1170
1158
- =item B<value>
1171
+ =item B<value> (type: int or uint)
1159
1172
1160
1173
Progress value.
1161
1174
1162
- =item B<image-path>
1175
+ =item B<image-path> (type: string)
1163
1176
1164
1177
Icon name. This may be a path or just the icon name.
1165
1178
1166
- =item B<image-data>
1179
+ The alias B<image_path> is also supported.
1180
+
1181
+ =item B<image-data> (type: variant)
1167
1182
1168
1183
A stream of raw image data.
1169
1184
1170
- =item B<category>
1185
+ The aliases B<image_data> and B<icon_data> are also supported.
1186
+
1187
+ =item B<category> (type: string)
1171
1188
1172
1189
The category.
1173
1190
1174
- =item B<desktop-entry>
1191
+ =item B<desktop-entry> (type: string)
1175
1192
1176
1193
The desktop entry.
1177
1194
1178
- =item B<transient>
1195
+ =item B<transient> (type: int or boolean)
1179
1196
1180
1197
The transient value.
1181
1198
1199
+ =item B<x-dunst-stack-tag> (type: string)
1200
+
1201
+ The stack tag of the notification.
1202
+ A tagged notification will replace an earlier notification with the same tag.
1203
+
1204
+ =item B<x-canonical-private-synchronous> (type: string)
1205
+
1206
+ Alias for B<x-dunst-stack-tag>.
1207
+
1182
1208
=back
1183
1209
1184
1210
Some examples:
1185
1211
1186
- notify-send -h string:fgcolor:#ff4444
1212
+ notify-send -h string:fgcolor:#ff4444 "hello"
1187
1213
1188
- notify-send -h string:bgcolor:#4444ff -h string:fgcolor:#ff4444 -h string:frcolor:#44ff44
1214
+ notify-send -h string:bgcolor:#4444ff -h string:fgcolor:#ff4444 -h string:frcolor:#44ff44 ":)"
1189
1215
1190
1216
notify-send -h int:value:42 "Working ..."
1191
1217
1218
+ notify-send -h string:x-canonical-private-synchronous:volume "Muted"
1219
+
1192
1220
=head1 ACTIONS
1193
1221
1194
1222
Dunst allows notifiers (i.e.: programs that send the notifications) to specify
0 commit comments