72 Commits

Author SHA1 Message Date
Nikos Tsipinakis
f54d698cba Bring default config up to date
Some of the settings weren't included in the default config before.
2016-12-11 14:14:18 +02:00
Jack Henschel
9db667be45 Add note about ctrl+grave to default config
Fixes #268
2016-11-10 01:20:20 -03:00
Jakob Nixdorf
8ee86dc477 add initial support for per-urgency frame-colors 2016-11-06 16:52:13 -03:00
Sascha Kruse
f8e1e330b2 Merge pull request #209 from Nauxuron/master
Notification height option
2014-12-17 14:56:43 +01:00
Wim de With
f4cdb2acfa Add notification_height option
Fix the line_height description
2014-12-13 17:02:31 +01:00
Yuri D'Elia
b5e00c43c7 Fix markup handling.
The current "allow_markup" setting will simply strip any markup from the final
notification, which includes formatting elements. On top of that, literal
[<>&..] symbols are not quoted before are being passed onto pango in several
places, resulting in stray error messages.

This patch fixes allow_markup to correctly strip markup only from the incoming
notification, not from the format.

You might also want to treat incoming messages as literal text (supplied by
un-aware programs), in which case you need to properly quote the text before
it's processed by pango. A new setting is introduced, called "plain_text",
which forces incoming messages to be treated literally.

allow_markup/plain_text are complimentary to each other.

The new rule actions allow to narrow down the handling to a specific block,
achieving notification Zen.

The following is done in this patch:

- Fix ruleset initialization in config.def.h.
- Introduce new allow_markup/plain_text actions in the rules.
- Fix handling of allow_markup to strip markup from summary/body only,
  preserving format's markup.
- Fix broken string functions (string_replace_all didn't handle recursive
  replacements correctly).
- Fix quoting of other literal fields (icon name/appname).
- Fix handling of ignore_newline as well (applied only on summary/body).
- Dunstrc update with the same previous defaults.
2014-12-05 16:05:41 +01:00
Josh Brown
76419dcc76 Fix spelling in dunstrc 2014-08-03 15:42:12 +00:00
Josh Brown
30f2af439d Remove trailing whitespace in .dunstrc 2014-08-03 15:32:08 +00:00
Sascha Kruse
3c841c418a add new history_length option to example dunstrc 2014-06-16 21:47:22 +02:00
René 'Necoro' Neumann
010bdf01ae Add Vim modeline for dunstrc.
With this modeline, the dunstrc gets syntax highlighting in vim by
default.
2014-06-11 15:52:33 +02:00
Sascha Kruse
1ccb6185ac allow rule matching against category
fix issue #135
2014-03-08 15:03:38 +01:00
Sascha Kruse
6957ac77a0 Merge branch 'feature-icon' of git://github.com/Gjum/dunst into pull_requests
Conflicts:
	dunstrc
	settings.c
2014-03-08 11:57:09 +01:00
Yuri D'Elia
431c65fc76 Add 'msg_urgency' as a new filter to match on the urgency.
This patch adds a new filter 'msg_urgency' which _matches_ on the urgency on
the notification.

This allows to configure different notification parameters/scripts to different
urgency levels.
2014-03-06 17:22:08 +01:00
Gjum
5a5dab2ff3 Add script option to override shown icon 2014-03-01 14:53:30 +01:00
Gjum
a02ab4cf70 Change how icons are loaded
- use several icon_folders instead of a single icon_path
- check all paths for the icon
2014-02-27 15:15:11 +01:00
Gjum
687a69a99f Change default icon size to 16x16 (was 32x32)
might fit better to dunst's minimalistic style
2014-02-26 23:27:07 +01:00
Gjum
01327a6bc4 Add option to align icons left or right 2014-02-26 22:43:53 +01:00
Gjum
d9e68803dc Fix stuff regarding icons
- fix icon_path string calculations
- add default settings to config.def.h
2014-02-26 19:05:32 +01:00
Gjum
c2801181f8 Add icon support
- icons are displayed at the top left corner
- disabed by default, fully backwards-compatible
- no additional dependencies, only cairo used
- TODO: only supports png (but all default images are png)
- TODO: message formatting is sometimes buggy
2014-02-25 23:35:08 +01:00
Sascha Kruse
2638178e5a Merge remote-tracking branch 'galex-713/patch-1' into merge
Conflicts:
	dunstrc
2014-01-22 22:20:31 +01:00
Sascha Kruse
bf6c1a6406 make notification stacking optional
see #137
2014-01-22 10:44:30 +01:00
Garreau Alexandre
438e215524 Little adjustments
Corrected text filling to 72 columns, indentations between lines, some miswriting (“<s/>”), points, caps, <pro://url/file.html> syntax, etc.
2014-01-03 01:11:12 +01:00
Andrei Gorgan
619076660b Add "show_indicators" option
Add an option for disabling marking messages containing URLs or actions.
This means that messages will not be displayed with "(U)" or "(A)"
before them, but you can still use the context menu on them.
2013-07-21 15:31:41 +03:00
Giuliano Schneider
718c07a9eb removed unopened closing bracket 2013-05-01 12:08:13 +02:00
Giuliano Schneider
e92e36a2d9 added documentation 2013-04-30 15:16:35 +02:00
Giuliano Schneider
a25954f8a6 added shrink option 2013-04-30 14:54:55 +02:00
Sascha Kruse
81fa1dfc02 update dunstrc 2013-02-23 00:35:01 +00:00
Sascha Kruse
0d8be7dccf markup 2013-02-22 18:36:25 +00:00
Sascha Kruse
d092d17a54 update default dunstrc to more pleasing defaults
This introduces i3 like colors
2013-01-08 02:40:38 +01:00
Sascha Kruse
a51f564037 new option: igonre_newline
see github issue 83
2013-01-02 12:21:53 +01:00
Sascha Kruse
f2075a3409 more options for separator color 2012-12-22 17:12:27 +01:00
Sascha Kruse
5c96d1f63e updated dunstrc comment
height in geometry is measured in notifications, not lines
2012-12-22 08:01:22 +01:00
Sascha Kruse
f054dab8be horizontal padding 2012-12-21 15:46:25 +01:00
Sascha Kruse
67b54e2ace framing 2012-12-21 15:35:51 +01:00
Sascha Kruse
4b7c856c0a add padding 2012-12-21 13:46:20 +01:00
Sascha Kruse
4820f0da13 example script 2012-12-21 12:36:45 +01:00
Sascha Kruse
131016878b run script via rule 2012-12-21 12:27:24 +01:00
Sascha Kruse
02bd587935 allow parameters to dmenu and browser calls 2012-12-19 16:38:14 +01:00
Sascha Kruse
42e49a7b34 context menu for urls 2012-12-19 15:56:15 +01:00
Sascha Kruse
3918fd32a8 print notification on startup 2012-12-13 22:50:13 +01:00
Sascha Kruse
78d7daed12 negative width within geometry
See github issue #72
2012-10-20 14:44:50 +02:00
progandy
bcd3a79b1c document new placeholder 2012-10-08 12:38:53 +02:00
Sascha Kruse
a283c18ddc Update comments in dunstrc 2012-09-27 11:29:47 +02:00
Nuno Cardoso
434a575bfb Implemented bouncing text 2012-09-13 10:32:10 +01:00
Nuno Cardoso
15d36de115 Fixed issue with transparency config defaults 2012-09-11 19:59:48 +01:00
Nuno Cardoso
36efd8846c Implemented Transparency 2012-09-11 12:40:59 +01:00
Sascha Kruse
1a4deea501 Update to verbose mode
Remove dead code and print the notifications, when -print is given
2012-09-09 10:39:33 +02:00
Sascha Kruse
c3767d1a7b change separator to be a solid line at the bottom 2012-09-09 10:19:58 +02:00
Sascha Kruse
28e6f27060 Revert "configurable total height of separator"
This reverts commit 9534cd4d46a9089f26e5d5304899541b728e5e13.

this breaks on splitted notifications
2012-09-09 09:24:54 +02:00
Sascha Kruse
9534cd4d46 configurable total height of separator 2012-09-09 08:55:41 +02:00