63 Commits

Author SHA1 Message Date
Sascha Kruse
91be3e1e4a removed unused function definition 2011-11-15 08:51:45 +01:00
Sascha Kruse
d291bec15b added some comments to config.def.h 2011-11-15 01:31:36 +01:00
Sascha Kruse
6d36786fc0 added format to rules 2011-11-15 01:21:08 +01:00
Sascha Kruse
4e7a12053d added keybindings to config.def.h 2011-11-14 23:59:32 +01:00
Sascha Kruse
45ec236958 moved default values to config.h and added Rules
I know, this should be splitted into more than one commit. Shame on me.
2011-11-14 23:22:50 +01:00
Sascha Kruse
ea702f0dad refactor handling of the msgqueue
This should make things cleaner and easier to add filters in the future"
2011-11-14 20:48:57 +01:00
Sascha Kruse
a61e8ebada reintroduced -v
This one was forgotten in the rewrite of the option parsing
2011-11-14 20:26:00 +01:00
Sascha Kruse
57ba1d5ffe use getopt for option parsing 2011-11-14 17:12:13 +01:00
Sascha Kruse
9b89836e73 some cleanup 2011-11-14 16:04:06 +01:00
Sascha Kruse
f237d8df84 changed behaviour of mouseclicks
Now a rightclick on the message windows deletes ALL messages.
2011-11-05 10:45:59 +01:00
Sascha Kruse
349493c196 fixed tab<->spaces 2011-10-25 22:22:10 +02:00
Sascha Kruse
fa302a31a9 fixed typo in usage 2011-10-03 21:54:18 +02:00
Sascha Kruse
b878f3d851 removed unused _do_replace(...) function 2011-10-03 21:14:05 +02:00
Sascha Kruse
f192ee6bbf removed unused pop(...) function 2011-10-03 21:10:13 +02:00
Sascha Kruse
96a632cfcc cleanup of fix_markup(...) 2011-10-03 20:56:42 +02:00
Sascha Kruse
b65735970b fix hang of pidgin on close
pidgin (and probably some other applications too) send closeNotification
to the server to close all open notifications and waits for a reply.
Send dummy reply for now to make them happy.
2011-10-03 12:47:17 +02:00
Sascha Kruse
f4508c1dbe verbose-mode and output cleanup 2011-10-03 12:35:19 +02:00
Sascha Kruse
41401d0985 round timeout
round timeout of messages and prevent 0 > timeout > 500 from being
rounded to 0
2011-09-28 17:49:14 +02:00
Sascha Kruse
16320b0f8d always handle XEvents
This prevents queueing up of key-presses when no window is shown, which
would close the message immediatly
2011-09-28 17:27:00 +02:00
Sascha Kruse
6240ebb237 replace newlines with space 2011-09-25 07:15:52 +02:00
Sascha Kruse
1f67c51cf2 removed -msg option 2011-09-25 07:14:24 +02:00
Sascha Kruse
916a2c0c60 read color hints
this commit enables dunst to read color informations for the
notifications from the message.
2011-09-24 01:29:22 +02:00
Sascha Kruse
5a5211006e fixed segfault
thanks to chneukirchen
2011-09-24 00:45:14 +02:00
Sascha Kruse
f7109c9b19 fixed memoryleak
thanks to chneukirchen
2011-09-24 00:31:32 +02:00
Sascha Kruse
f84ace2b05 fixed unescaping of &amp; &lt; &gt; 2011-09-18 16:16:58 +02:00
Sascha Kruse
ba6c00bad1 fixed wrong deletion order of messages
and gave the variable 'tmp' a better name
2011-09-17 18:59:29 +02:00
Sascha Kruse
6cec7aa72d fixed warning when compiled with -Wextra
changed len (length of message in drawmsg) to unsigned int,
since a length can't be negative and the variable will be
compared to another unsigned int.
2011-09-17 15:40:18 +02:00
Sascha Kruse
f54975ba13 put colors into array
This way, the color can be simple selected by colors[urgency]
2011-09-17 14:57:48 +02:00
Sascha Kruse
929f5d6740 strip markups
strip <i></i><b></b><u></u></a><a href..><img src.../>
2011-09-16 22:59:16 +02:00
Sascha Kruse
c3440b97ac more timeout option
added individual timeouts for each urgency-level
2011-09-16 22:24:16 +02:00
Sascha Kruse
8c48a33f31 Readded README
it seems github can't work with README.1
2011-09-16 01:40:20 +02:00
Sascha Kruse
cc1d90adca -format 2011-09-16 01:37:21 +02:00
Sascha Kruse
e5ebf7fef0 removed TODO
for a todo-list see issues at github page
2011-09-16 01:37:21 +02:00
Sascha Kruse
b55ce38b5b updated documentation
also changed README to README.1 since github should support this.
2011-09-16 01:37:21 +02:00
Sascha Kruse
0d84f1c720 obey urgency 2011-09-16 01:37:21 +02:00
Sascha Kruse
732b52480f delete oldest msg on click 2011-09-16 01:37:21 +02:00
Sascha Kruse
47c7a7fd92 comply to timeout component 2011-09-16 01:37:21 +02:00
Sascha Kruse
aa6a4cd36c unescape xml-characters 2011-09-16 01:37:17 +02:00
Sascha Kruse
bdeb4aab96 don't eat up cpu with -msg 2011-09-13 11:27:55 +02:00
Sascha Kruse
4caf7a68e9 fixed manpage
the explanation of the -mon option got accidently deleted with the last
commits
2011-09-13 01:23:32 +02:00
Sascha Kruse
f64fcc63cd multiline working 2011-09-13 01:05:51 +02:00
Sascha Kruse
ca07ca090e dimension_t 2011-09-12 19:42:42 +02:00
Sascha Kruse
8979ccb48b list_len(...) 2011-09-12 18:16:41 +02:00
Sascha Kruse
78ba452469 s/msgqueuehead/msgqueue 2011-09-12 18:02:55 +02:00
Sascha Kruse
747c90be2d moved drawmsg call 2011-09-12 17:59:04 +02:00
Sascha Kruse
fcdbf8ec0d screen_info struct
put all variables that contain information about
the current screen in one struct to keep things clean.
2011-09-11 18:03:40 +02:00
Sascha Kruse
939d1f980b don't grab any key, when -key is not used
before this, the NoSymbol keysym was grabbed, which causes
a badAccess error on a second instance of dunst if both don't use
the -key option.
2011-09-11 17:45:20 +02:00
Sascha Kruse
5c22743d53 fixed Monitor not found error msg 2011-09-11 17:37:58 +02:00
Sascha Kruse
e4148a49d5 better multihead support 2011-09-10 01:39:22 +02:00
Sascha Kruse
ef7cb76dc5 misc cleanup 2011-09-09 19:58:10 +02:00