Sascha Kruse
880c8fcbe4
typo in dunstrc comment
2012-07-01 09:48:04 +02:00
Sascha Kruse
a5cc76c986
filter duplicate messages
2012-07-01 08:06:33 +02:00
Sascha Kruse
1b9d84f52a
l_sort: fix tiny memory leak
2012-07-01 08:06:33 +02:00
Sascha Kruse
f9885f38c4
make use of c99 for loop initializer
2012-07-01 08:06:29 +02:00
Sascha Kruse
fc68192e7c
--std=c99
2012-07-01 06:23:08 +02:00
Sascha Kruse
454fb4ebed
org.freedesktop.Notifications.NotificationClosed
2012-07-01 04:09:55 +02:00
Sascha Kruse
fcd794df6a
new option for sticky history
2012-07-01 02:11:17 +02:00
Sascha Kruse
97bc600884
"(x more)" colors = most_important(queued)
...
Give the "(x more)" text the same colors as the most important
notification in the queue has.
2012-07-01 01:46:25 +02:00
Sascha Kruse
dd27202ba7
only parse geometry once
2012-07-01 01:32:23 +02:00
Sascha Kruse
45a7ae8a54
fix -config cmdline option
...
This fixes a regression that got introduced with
commit 78b6e2b19f1595b4c6ad38225f667a24d522a576
2012-07-01 01:32:23 +02:00
Sascha Kruse
7438ff266a
show age of notification
2012-07-01 01:32:22 +02:00
Sascha Kruse
7e696cc02d
alignment
2012-07-01 01:32:22 +02:00
Sascha Kruse
7a1d758242
rework draw_win to use buffers
...
This makes it much easier to add additional text to the Notifications
without changing the next of the notification itself.
This also implements issue #27
2012-07-01 01:32:15 +02:00
Sascha Kruse
41540c4bde
-Wno-overlength-strings
2012-06-30 21:05:59 +02:00
Sascha Kruse
3f66ea2932
get rid of warning about wrong fp signature
2012-06-30 20:55:34 +02:00
Sascha Kruse
06c08f112e
fixed typo
2012-06-29 22:02:36 +02:00
Sascha Kruse
bdf1561cb6
add -v/--version option.
...
This partially overrides the verbosity option, but that was poorly
implemented and needs to be reworked anyway.
2012-06-28 20:12:36 +02:00
Sascha Kruse
e4f2e031ab
fix cmdline options for key/history_key
2012-06-27 22:27:57 +02:00
Sascha Kruse
61655d70ff
initialize X after parsing of cmdline/config
...
This way, the '-h/--help' options work, even when $DISPLAY is not set.
2012-06-27 22:25:34 +02:00
Sascha Kruse
ca0f41a775
fix handling of geometry.h
2012-06-27 03:36:17 +02:00
Sascha Kruse
0e45d6cea6
add option "monitor" to dunstrc
2012-06-26 16:43:02 +02:00
Sascha Kruse
bd5749095c
fix wrong calculation of height_limit
2012-06-26 16:43:02 +02:00
Sascha Kruse
47a21c2ddf
lower dbus_poll_timeout when a notification is shown.
...
This increases the responsivness to keyboard and mouse input
2012-06-26 16:43:02 +02:00
Sascha Kruse
9df4ebff18
formatting
2012-06-25 19:20:09 +02:00
Sascha Kruse
70cdb3535c
support proper closing and replacing requests
2012-06-25 19:19:16 +02:00
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