7d0d340ff36cce7bdc7e91dbb15ce06cba0fcc39
[khome.git] / dunstrc
1 [global]
2 frame_width = 1
3 frame_color = "#709080"
4
5 # Allow a small subset of html markup:
6 # <b>bold</b>
7 # <i>italic</i>
8 # <s>strikethrough</s>
9 # <u>underline</u>
10 #
11 # For a complete reference see
12 # <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
13 # If markup is not allowed, those tags will be stripped out of the
14 # message.
15 markup = no
16
17 # The format of the message. Possible variables are:
18 # %a appname
19 # %s summary
20 # %b body
21 # %i iconname (including its path)
22 # %I iconname (without its path)
23 # %p progress value if set ([ 0%] to [100%]) or nothing
24 # Markup is allowed
25 format = "<b>%s</b>\n%b"
26
27 # Sort messages by urgency.
28 sort = yes
29
30 # Show how many messages are currently hidden (because of geometry).
31 indicate_hidden = yes
32
33 # Alignment of message text.
34 # Possible values are "left", "center" and "right".
35 alignment = left
36
37 # The frequency with wich text that is longer than the notification
38 # window allows bounces back and forth.
39 # This option conflicts with "word_wrap".
40 # Set to 0 to disable.
41 bounce_freq = 0
42
43 # Show age of message if message is older than show_age_threshold
44 # seconds.
45 # Set to -1 to disable.
46 show_age_threshold = 60
47
48 # Split notifications into multiple lines if they don't fit into
49 # geometry.
50 word_wrap = yes
51
52 # Ignore newlines '\n' in notifications.
53 ignore_newline = no
54
55
56 # The geometry of the window:
57 # [{width}]x{height}[+/-{x}+/-{y}]
58 # Default:
59 # "0x0+0-0"
60 # The geometry of the message window.
61 # The height is measured in number of notifications everything else
62 # in pixels. If the width is omitted but the height is given
63 # ("-geometry x2"), the message window expands over the whole screen
64 # (dmenu-like). If width is 0, the window expands to the longest
65 # message displayed. A positive x is measured from the left, a
66 # negative from the right side of the screen. Y is measured from
67 # the top and down respectevly.
68 # The width can be negative. In this case the actual width is the
69 # screen width minus the width defined in within the geometry option.
70
71 # 3840x2160
72 #geometry = "0x10-5+35"
73 width = (100, 2100)
74 height = 1024
75 font = Iosevka 11
76
77 # 3440x1440
78 #geometry = "400x80-0+30"
79 #font = Iosevka Fixed SS09 Extended 12
80
81 # Shrink window if it's smaller than the width. Will be ignored if
82 # width is 0.
83 shrink = no
84
85 # The transparency of the window. Range: [0; 100].
86 # This option will only work if a compositing windowmanager is
87 # present (e.g. xcompmgr, compiz, etc.).
88 #transparency = 25
89
90 # Don't remove messages, if the user is idle (no mouse or keyboard input)
91 # for longer than idle_threshold seconds.
92 # Set to 0 to disable.
93 idle_threshold = 300
94
95 # Which monitor should the notifications be displayed on.
96 monitor = 0
97
98 # Display notification on focused monitor. Possible modes are:
99 # mouse: follow mouse pointer
100 # keyboard: follow window with keyboard focus
101 # none: don't follow anything
102 #
103 # "keyboard" needs a windowmanager that exports the
104 # _NET_ACTIVE_WINDOW property.
105 # This should be the case for almost all modern windowmanagers.
106 #
107 # If this option is set to mouse or keyboard, the monitor option
108 # will be ignored.
109 follow = mouse
110
111 # Should a notification popped up from history be sticky or timeout
112 # as if it would normally do.
113 sticky_history = yes
114
115 # Maximum amount of notifications kept in history
116 history_length = 1000
117
118 # Display indicators for URLs (U) and actions (A).
119 show_indicators = yes
120
121 # The height of a single line. If the height is smaller than the
122 # font height, it will get raised to the font height.
123 # This adds empty space above and under the text.
124 line_height = 0
125
126 # Draw a line of "separatpr_height" pixel height between two
127 # notifications.
128 # Set to 0 to disable.
129 separator_height = 1
130
131 # Padding between text and separator.
132 padding = 8
133
134 # Horizontal padding.
135 horizontal_padding = 8
136
137 # Define a color for the separator.
138 # possible values are:
139 # * auto: dunst tries to find a color fitting to the background;
140 # * foreground: use the same color as the foreground;
141 # * frame: use the same color as the frame;
142 # * anything else will be interpreted as a X color.
143 separator_color = frame
144
145 # Print a notification on startup.
146 # This is mainly for error detection, since dbus (re-)starts dunst
147 # automatically after a crash.
148 startup_notification = true
149
150 # dmenu path.
151 dmenu = /usr/bin/dmenu -p dunst:
152
153 # Browser for opening urls in context menu.
154 browser = firefox
155
156 # Align icons left/right/off
157 icon_position = off
158
159 # Paths to default icons.
160 #icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
161 #icon_path = /usr/share/icons/Humanity/status/16
162 #icon_path = /usr/share/icons/breeze-dark/status/64
163 #icon_path = /usr/share/icons/oxygen/16x16/status/
164
165 [shortcuts]
166
167 # Shortcuts are specified as [modifier+][modifier+]...key
168 # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
169 # "mod3" and "mod4" (windows-key).
170 # Xev might be helpful to find names for keys.
171
172 # Close notification.
173 close = ctrl+space
174
175 # Close all notifications.
176 close_all = ctrl+shift+space
177
178 # Redisplay last message(s).
179 # On the US keyboard layout "grave" is normally above TAB and left
180 # of "1".
181 history = ctrl+grave
182
183 # Context menu.
184 context = ctrl+shift+period
185
186 [urgency_low]
187 # IMPORTANT: colors have to be defined in quotation marks.
188 # Otherwise the "#" and following would be interpreted as a comment.
189 background = "#3a3a3a"
190 foreground = "#dcdccc"
191 frame_color = "#3f3f3f"
192 timeout = 30
193
194 [urgency_normal]
195 background = "#dcdccc"
196 foreground = "#3a3a3a"
197 frame_color = "#3f3f3f"
198 timeout = 60
199
200 [urgency_critical]
201 background = "#705050"
202 foreground = "#dcdccc"
203 frame_color = "#3f3f3f"
204 timeout = 0
205
206 [beep_normal]
207 msg_urgency = normal
208 script = dunst_beep_normal
209
210 [beep_critical]
211 msg_urgency = critical
212 script = dunst_beep_critical
213
214
215 # Every section that isn't one of the above is interpreted as a rules to
216 # override settings for certain messages.
217 # Messages can be matched by "appname", "summary", "body", "icon", "category",
218 # "msg_urgency" and you can override the "timeout", "urgency", "foreground",
219 # "background", "new_icon" and "format".
220 # Shell-like globbing will get expanded.
221 #
222 # SCRIPTING
223 # You can specify a script that gets run when the rule matches by
224 # setting the "script" option.
225 # The script will be called as follows:
226 # script appname summary body icon urgency
227 # where urgency can be "LOW", "NORMAL" or "CRITICAL".
228 #
229 # NOTE: if you don't want a notification to be displayed, set the format
230 # to "".
231 # NOTE: It might be helpful to run dunst -print in a terminal in order
232 # to find fitting options for rules.
233
234 #[espeak]
235 # summary = "*"
236 # script = dunst_espeak.sh
237
238 #[script-test]
239 # summary = "*script*"
240 # script = dunst_test.sh
241
242 #[ignore]
243 # # This notification will not be displayed
244 # summary = "foobar"
245 # format = ""
246
247 #[signed_on]
248 # appname = Pidgin
249 # summary = "*signed on*"
250 # urgency = low
251 #
252 #[signed_off]
253 # appname = Pidgin
254 # summary = *signed off*
255 # urgency = low
256 #
257 #[says]
258 # appname = Pidgin
259 # summary = *says*
260 # urgency = critical
261 #
262 #[twitter]
263 # appname = Pidgin
264 # summary = *twitter.com*
265 # urgency = normal
266 #
267 # vim: ft=cfg
This page took 0.087754 seconds and 3 git commands to generate.