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