733 Commits

Author SHA1 Message Date
Sascha Kruse
27eb2bcbe6 remove trailing whitespaces 2014-03-08 19:03:50 +01:00
Sascha Kruse
1ccb6185ac allow rule matching against category
fix issue #135
2014-03-08 15:03:38 +01:00
Sascha Kruse
d082f51cbb restore old rule order 2014-03-08 14:42:12 +01:00
Sascha Kruse
8bb8f6269f fix compiler warnings 2014-03-08 12:09:18 +01:00
Sascha Kruse
6715f74a47 use --std=gnu99 to get rid of compiler warnings 2014-03-08 12:08:39 +01:00
Sascha Kruse
98ac8a649e Don't build dunstify on 'make' or 'make all' 2014-03-08 11:57:23 +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
Sascha Kruse
62809844ed Merge branch 'fix_memory_leak' of git://github.com/gs93/dunst into pull_requests 2014-03-08 11:36:35 +01:00
Sascha Kruse
ff4d56e826 Merge branch 'fix_layout_alignment' of git://github.com/wavexx/dunst into pull_requests 2014-03-08 11:36:11 +01:00
Sascha Kruse
79e6b3f349 Merge branch 'fix_raise_hell' of git://github.com/wavexx/dunst into pull_requests 2014-03-08 11:35:49 +01:00
Sascha Kruse
54c1b58cb0 Merge branch 'match_msg_urgency' of git://github.com/wavexx/dunst into pull_requests 2014-03-08 11:35:11 +01:00
Yuri D'Elia
2023623b16 Fix URL matching regex
The URL matching regex as currently used by dust is too liberal, and will just
match about anything.

Some examples:

  "establishing connection..." => connection...
  "setting volume to [50%]" => 50%]

The following expression is an adapted copy of urxvt's URL matcher.
2014-03-06 18:05:22 +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
Yuri D'Elia
0466d41c50 Set _NET_WM_STATE_ABOVE and fix window type.
- Fix indentation.
- Fix wrong paramenters in call to XChangeProperty
- Do not try to raise the window, set _NET_WM_STATE_ABOVE instead
2014-03-06 16:47:06 +01:00
Yuri D'Elia
38702761a3 Fix layout alignment with dynamic width.
Update pango layout's width if width has changed and alignment != left.
2014-03-06 12:56:57 +01:00
Giuliano Schneider
9e03b5258f fix memory leak in string_to_argv 2014-03-05 13:31:01 +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
c6ef8ecaed Fix error on non-existent icon names 2014-02-27 00:36:59 +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
Sascha Kruse
aa585017e0 Merge pull request #133 from progandy/master
fix dynamic width calculation
2013-12-30 14:52:06 -08:00
progandy
80af8a1030 fix dynamic width calculation 2013-12-06 07:01:51 +01:00
Sascha Kruse
92cda4319d note about compile errors with outdated config.h 2013-08-23 21:39:55 +02:00
Steven Allen
95c67908c1 Fix memory leak in URL scanning code 2013-08-12 18:37:54 -07:00
Sascha Kruse
6a3a855b48 Merge pull request #117 from aliasbind/master
Add "show_indicators" option
2013-07-27 13:35:15 -07: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
Sascha Kruse
41e5976e6d set _NET_WM_WINDOW_TYPE (thanks lexming)
fix #113
2013-07-16 13:30:46 +02:00
Sascha Kruse
0ccd06faf3 don't increment dup_count when progess differs
work around the fact that notify-send doesn't expose the replaces-id.
2013-07-16 13:22:53 +02:00
Sascha Kruse
5cd2b26d0f compare summary & body when looking for duplicates
this way similar notifications with different progres hint are seen as duplicates.

fix #114
2013-07-16 13:22:47 +02:00
Sascha Kruse
fb8eafe3fa show pango markup errors only once
see also #111
2013-06-29 00:50:57 +02:00
Sascha Kruse
a098b9476f set width of layouts correctly on dynamic width
fix #110
2013-06-29 00:32:54 +02:00
Sascha Kruse
2c21ea0dfe Merge pull request #107 from Necoro/master
Fix handling of NumLock
2013-06-28 15:09:42 -07:00
René 'Necoro' Neumann
be7d2b3511 Correctly handle Num_Lock.
Find out which modifier key is used by Num_Lock (`x_numlock_mod()`) and
register grabs for both variants: modifier present/not present.
2013-06-13 15:16:03 +02:00
Sascha Kruse
a7dfd7f973 Merge pull request #109 from progandy/master
Fix unreliable timeouts
2013-06-10 12:50:00 -07:00
progandy
dab943a702 fix unreliable and missed timeouts 2013-05-28 17:25:20 +02:00
progandy
0b3599076b switch timer to seconds instead of ms 2013-05-28 17:25:19 +02:00
progandy
5b3a46e2ec fix broken window update for history 2013-05-28 17:25:19 +02:00
Sascha Kruse
9d981e1fd7 Merge pull request #100 from gs93/dynamic_wordwrap
wrap the text if it's wider than the screen width (Fixes #53)
2013-05-04 13:03:54 -07:00
Giuliano Schneider
718c07a9eb removed unopened closing bracket 2013-05-01 12:08:13 +02:00
Giuliano Schneider
24d9179e4d xctx.geometry.y -> xctx.geometry.x 2013-05-01 12:00:35 +02:00
Sascha Kruse
3bf8b251ab Merge pull request #101 from gs93/improve_regex
Improve url regex
2013-04-30 12:25:50 -07:00
Giuliano Schneider
5edcd1097b simplified regex, added ftps 2013-04-30 16:14:02 +02:00
Giuliano Schneider
43e798dde7 don't parse something like "bla..." as domain 2013-04-30 16:10:29 +02:00