config/dunst/dunstrc (view raw)
1[global]
2 font = Dina 7
3 allow_markup = yes
4 plain_text = no
5 format = "%s\n%b"
6 sort = yes
7 indicate_hidden = yes
8 alignment = left
9 bounce_freq = 0
10 show_age_threshold = 60
11 word_wrap = yes
12 ignore_newline = no
13 geometry = "300x5-30+24"
14 shrink = no
15 transparency = 0
16 transparency = 40
17 idle_threshold = 120
18 monitor = 0
19 sticky_history = yes
20 history_length = 20
21 show_indicators = yes
22 line_height = 0
23 notification_height = 0
24 separator_height = 2
25 padding = 8
26 # Horizontal padding.
27 horizontal_padding = 8
28
29 # Define a color for the separator.
30 # possible values are:
31 # * auto: dunst tries to find a color fitting to the background;
32 # * foreground: use the same color as the foreground;
33 # * frame: use the same color as the frame;
34 # * anything else will be interpreted as a X color.
35 separator_color = frame
36
37 # Print a notification on startup.
38 # This is mainly for error detection, since dbus (re-)starts dunst
39 # automatically after a crash.
40 startup_notification = false
41
42 # dmenu path.
43 dmenu = /usr/bin/dmenu -p dunst:
44
45 # Browser for opening urls in context menu.
46 browser = /usr/bin/firefox -new-tab
47
48 # Align icons left/right/off
49 icon_position = off
50
51
52 # Paths to default icons.
53 icon_folders = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
54
55[frame]
56 width = 1
57 width = 2
58 color = "#eceff4"
59
60[shortcuts]
61
62 # Shortcuts are specified as [modifier+][modifier+]...key
63 # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
64 # "mod3" and "mod4" (windows-key).
65 # Xev might be helpful to find names for keys.
66
67 # Close notification.
68 close = ctrl+space
69
70 # Close all notifications.
71 close_all = alt+shift+space
72
73 # Redisplay last message(s).
74 # On the US keyboard layout "grave" is normally above TAB and left
75 # of "1".
76 history = ctrl+grave
77
78 # Context menu.
79 context = ctrl+shift+period
80
81[urgency_low]
82 # IMPORTANT: colors have to be defined in quotation marks.
83 # Otherwise the "#" and following would be interpreted as a comment.
84 background = "#eceff4"
85 foreground = "#3b4252"
86 timeout = 5
87
88[urgency_normal]
89 background = "#eceff4"
90 foreground = "#3b4252"
91 timeout = 5
92
93[urgency_critical]
94 background = "#00ffff"
95 foreground = "#900000"
96 timeout = 5
97
98
99# Every section that isn't one of the above is interpreted as a rules to
100# override settings for certain messages.
101# Messages can be matched by "appname", "summary", "body", "icon", "category",
102# "msg_urgency" and you can override the "timeout", "urgency", "foreground",
103# "background", "new_icon" and "format".
104# Shell-like globbing will get expanded.
105#
106# SCRIPTING
107# You can specify a script that gets run when the rule matches by
108# setting the "script" option.
109# The script will be called as follows:
110# script appname summary body icon urgency
111# where urgency can be "LOW", "NORMAL" or "CRITICAL".
112#
113# NOTE: if you don't want a notification to be displayed, set the format
114# to "".
115# NOTE: It might be helpful to run dunst -print in a terminal in order
116# to find fitting options for rules.
117
118#[espeak]
119# summary = "*"
120# script = dunst_espeak.sh
121
122#[script-test]
123# summary = "*script*"
124# script = dunst_test.sh
125
126#[ignore]
127# # This notification will not be displayed
128# summary = "foobar"
129# format = ""
130
131#[signed_on]
132# appname = Pidgin
133# summary = "*signed on*"
134# urgency = low
135#
136#[signed_off]
137# appname = Pidgin
138# summary = *signed off*
139# urgency = low
140#
141#[says]
142# appname = Pidgin
143# summary = *says*
144# urgency = critical
145#
146#[twitter]
147# appname = Pidgin
148# summary = *twitter.com*
149# urgency = normal
150#
151# vim: ft=cfg