36 Commits

Author SHA1 Message Date
Nikos Tsipinakis
7e58e5c64c Add expandtab to vim modelines & expand abbreviations
Add expandtab to vim modelines so that spaces are expanded to tabs, make
life easier for people that have vim configured to use tabs by default.

Expand modeline abbreviations to improve readability.
2016-11-17 20:27:46 +02:00
Jakob Nixdorf
8ee86dc477 add initial support for per-urgency frame-colors 2016-11-06 16:52:13 -03:00
Moritz Luedecke
30085f7abd Add option to hide duplicates count 2016-11-01 16:28:32 -03:00
Ilya Tumaykin
8ca41b13a8 Fix: Multiple implicitly declared functions
https://github.com/knopwob/dunst/issues/267
2016-10-29 02:52:53 -03:00
Johannes M. Griebler
ce8fe45cbf Add configuration option for icon scaling
The maximum size for icons can now be set with the max_icon_size option.
Setting its value to 0 will disable the scaling of icons.
2016-10-14 18:12:09 +02:00
Anton Löfgren
3d11743d3a settings: Trivial typo fix on format option description
Signed-off-by: Anton Löfgren <anton.lofgren@gmail.com>
2015-08-24 18:10:08 +02:00
Spencer
504477edc1 add option to run scripts for suppressed notifications - fix #212 2015-06-30 19:22:32 -07:00
Justin Jacobs
61ce42a7e2 Fix memory leaks 2015-03-03 00:49:24 -05: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
d3ae6c5951 Remove trailing spaces from all other files 2014-08-03 15:47:59 +00:00
Sascha Kruse
3cd7f24fdd config for max history length
fix #177
2014-06-16 20:54:06 +02:00
Amadeus Folego
d2245c70f6 Set wm class and name with -name 2014-04-30 19:36:59 -03:00
Sascha Kruse
d082f51cbb restore old rule order 2014-03-08 14:42:12 +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
d0662e78ec Introduce default icon setting 2014-02-28 22:18:57 +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
01327a6bc4 Add option to align icons left or right 2014-02-26 22:43:53 +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
bf6c1a6406 make notification stacking optional
see #137
2014-01-22 10:44:30 +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
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
db27662e78 Revert "replace string_to_argv() with g_strsplit()"
This reverts commit 023473ac2557f37d842c81c67192feac1f898eb8.

Conflicts:
	dunst.c
2013-03-25 13:55:18 +01:00
Sascha Kruse
d03344803d settings.c: only include basedir.h if needed 2013-03-20 08:54:07 +00:00
Sascha Kruse
37242bc30a don't segfault when no dunstrc is found 2013-02-27 00:02:14 +01:00
Sascha Kruse
0d8be7dccf markup 2013-02-22 18:36:25 +00:00
Sascha Kruse
cff9c74e0e License header and vim modeline 2013-02-22 06:09:13 +00:00
Sascha Kruse
e82da9d5e7 indent -linx --no-tabs 2013-02-21 23:23:54 +00:00
Sascha Kruse
b8004f56d8 remove folding markers again 2013-02-21 23:19:30 +00:00
Sascha Kruse
a587fea56f moved rules related stuff to rules.{c,h} 2013-02-21 01:37:57 +00:00
Sascha Kruse
56716ec948 options.{c,h} -> option_parser.{c,h} 2013-02-21 01:27:32 +00:00
Sascha Kruse
be5940bc74 settings.{c,h}
Put all global variables that store user settings into
a struct to keep the namespace clean. Move loading of
settings into own file so that only the namespace of
settings.c gets polluted with the stuff from config.h
2013-02-21 01:22:46 +00:00