129 Commits

Author SHA1 Message Date
Sascha Kruse
99b482c484 send proper message id to client 2012-06-25 19:16:48 +02:00
Sascha Kruse
1410ddc8af change remove order on keyboard shortcut 2012-06-25 19:16:48 +02:00
Sascha Kruse
d6f3868cc0 use generic list for rules 2012-06-25 19:16:48 +02:00
Sascha Kruse
b0bf0b0b07 refactor/cleanup
* run code through `indent --no-tabs -linux`
 * use generic list implemenation for queues

This sould have been multiple commits but some git foobar on my part
made me loose the history :-/
2012-06-25 19:15:06 +02:00
Sascha Kruse
305a791e21 generic linked list 2012-06-25 19:04:05 +02:00
Sascha Kruse
98ad061b29 read idle_threshold from dunstrc
this probably got lost during the recent iniparser -> inih changes.
v0.2.0
2012-06-25 18:31:32 +02:00
Sascha Kruse
19ebd2aba6 add support for org.freedesktop.DBus.Introspectable.Introspect
Some clients (e.g Dropbox) rely on this.
2012-06-24 19:20:08 +02:00
Sascha Kruse
31e2e47142 Merge pull request #25 from mstap/xdg-fixes
Use libxdg-basedir for proper XDG behavior
2012-06-23 13:13:10 -07:00
Michael Stapelberg
a5f64fc938 add fallback to the old dunstrc path 2012-06-23 20:36:58 +02:00
Michael Stapelberg
78b6e2b19f use libxdg-basedir to properly handle the xdg spec 2012-06-23 20:36:58 +02:00
Michael Stapelberg
3ab5daf2d1 Use pkg-config to figure out libdbus cflags/libs
This fixes compilation on recent Debian multiarch systems.
2012-06-23 20:35:16 +02:00
Sascha Kruse
793dd1dd91 Merge pull request #21 from mstap/patch-2
Remove unnecessary dependencies
2012-06-21 14:03:24 -07:00
Michael Stapelberg
aa62ea0129 Remove unnecessary dependencies 2012-06-21 23:46:44 +03:00
Michael Stapelberg
ad066b75fd Remove -liniparser, not needed anymore. 2012-06-21 21:51:24 +03:00
Sascha Kruse
b6ae405050 license 2012-06-20 23:42:36 +02:00
Sascha Kruse
48d95288a9 change tabs to spaces 2012-06-20 17:41:05 +02:00
Sascha Kruse
2b383b0079 AUTHORS 2012-06-20 17:16:33 +02:00
Sascha Kruse
ffac73a29e add license for inih 2012-06-20 17:02:33 +02:00
Sascha Kruse
a2dceb2feb remove dublicate initialisation of rule 2012-06-20 16:51:27 +02:00
Gergely Nagy
bdab09fec2 Migrate dunst from iniparser to inih.
Instead of using iniparser, which is rarely packaged, and is an
external dependency, use an embedded copy of inih instead, which is
only a hundred or so lines, and can do pretty much the same as
iniparser.

The benefit is one less external dependency, and it makes it easier
for distributions to package dunst.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
2012-06-20 16:51:27 +02:00
Sascha Kruse
35cb023915 trim message
assuming a format like "%s %b" and the body is empty, the notification
ends with a space, leading to not centered text in the window.
2012-06-18 16:10:20 +02:00
Sascha Kruse
a426ab262e dunstrc: comment about xev to find key names 2012-06-16 12:33:10 +02:00
Sascha Kruse
97c03ff07b dunstrc: list available modifier-keys 2012-06-16 12:30:50 +02:00
Sascha Kruse
ccd5cd063b history 2012-06-15 20:54:21 +02:00
Sascha Kruse
dcb451cadc Only parse cmdline once
This also fixes a bug where the geometry is parsed incorrectly.
2012-06-14 15:45:09 +02:00
Sascha Kruse
0daa92cc57 don't segfault if XDG_CONFIG_HOME is not set 2012-06-14 15:17:15 +02:00
Sascha Kruse
c737a69a42 fix segfault on custom color notifications 2012-06-14 13:16:43 +02:00
Sascha Kruse
fc50adbf34 clarification in dunstrc 2012-06-13 15:37:02 +02:00
Sascha Kruse
7d69b6f23b fix segfault on critical notification 2012-06-12 19:52:07 +02:00
Sascha Kruse
0e0f1fe45f update README 2012-06-12 19:25:43 +02:00
Sascha Kruse
cceae3ce10 copy example dunstrc to /usr/share/dunst/dunstrc 2012-06-12 19:25:20 +02:00
Sascha Kruse
382cd2ee6d add comments to dunstrc 2012-06-12 19:12:32 +02:00
Sascha Kruse
804ebe0ec3 Remove debug output 2012-06-12 16:22:09 +02:00
Sascha Kruse
45b3f52d0f typo 2012-06-12 14:02:20 +02:00
Sascha Kruse
9b4d9ec205 Merge branch 'xft' into next
Conflicts:
	config.mk
2012-06-12 13:59:51 +02:00
Sascha Kruse
acf56a41e9 xft 2012-06-12 13:51:41 +02:00
Sascha Kruse
abba5acdd2 cleanup of output 2012-03-19 13:02:04 +01:00
Sascha Kruse
baa00150d1 add idle_threshold option 2012-03-19 04:40:19 +01:00
Sascha Kruse
f662e65011 Merge branch 'idle' into next
Conflicts:
	config.def.h
	config.mk
	dunst.c
2012-03-19 04:27:17 +01:00
Sascha Kruse
5fa67d5f89 removed config.h and config.def.h
The need for them is replaced by dunstrc
2012-03-19 02:26:19 +01:00
Sascha Kruse
f188c94cd3 example dunstrc 2012-03-19 00:11:55 +01:00
Sascha Kruse
c18be50fd3 config parsing 2012-03-19 00:10:23 +01:00
Sascha Kruse
491293360e move cmdline parsing to own function 2012-03-18 07:13:04 +01:00
Sascha Kruse
9ac34f6010 make rules linked list instead of array 2012-03-18 07:04:12 +01:00
Sascha Kruse
d5e89267df no 'format' in default rule v0.1 2012-03-09 22:27:56 +01:00
Sascha Kruse
7801e92203 don't timeout when idle 2012-03-06 21:39:19 +01:00
Sascha Kruse
5554131bfd removed unnecessary debug printf 2012-02-02 02:07:51 +01:00
Sascha Kruse
820c4ee013 use last urgency colors for "x more" message 2012-02-02 02:04:01 +01:00
Sascha Kruse
712148dfad don't get stuck in loop, for real 2011-12-30 00:53:18 +01:00
Sascha Kruse
d2bded47b1 don't get stuck in loop 2011-12-30 00:39:42 +01:00