On Sat, 24 Oct 2009 21:42:52 +0200 (CEST) Daniel Kreischer
<[email protected]> wrote:
> Hi guys.
>
> I find it to be quite unsatisfactory not to be able to write my own app
> that uses awesome's notification lib :/ Pity.
The library extends the awesome's functionality by enabling it to
display notifications sent to it over DBUS, or directly from the Lua
inside awesome. Thats how you are meant to use it.
> Since I am actually writing a daemon, it would be ok to have it
> autostarted, but it would be a pita to develop/debug (getting debug output).
> But it's definitely not ok to have all the code in the rc.lua
> (conceptionally and practically (see #668)).
Then you could use DBUS to send the notifications. That would have the
advantage of not being dependent on awesome, every notification utility
could display your notifications.
> @lukash: How do I "put it in the action handler" without actually
> placing my code there?
The code in the file gets executed at the moment you call the
dofile("yourscript.lua"). So if you put it in a keybinding handler
function, it should be called every time you press the keybinding.
cheers
lukash
--
To unsubscribe, send mail to [email protected].