At 1243184445 time_t, Gregor Best wrote:
You wouldn't need such a hook. Just append all stuff which needs to be started
to the end of your rc.lua
Except that it's not very easy to use when you just want to add that
code in a module. You can't access rc.lua and telling user to add code
ia PITA.
At 1243177021 time_t, koniu wrote:
and the patch :P
Pushed.
--
Julien Danjou
// ᐰ jul...@danjou.info http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
// Ferns will rule the world.
signature.asc
Description: Digital signature
At Mon, 25 May 2009 11:44:25 +0200
Julien Danjou wrote:
At 1243184445 time_t, Gregor Best wrote:
You wouldn't need such a hook. Just append all stuff which needs to be
started to the end of your rc.lua
Except that it's not very easy to use when you just want to add that
code in a module.
Hey,
How about adding a hook that's executed right before awesome exits?
This would allow eg. dumping some stuff to a file thus making session
saving possible.
The proposed patch will run the hooked functions inside
awesome_atexit() which also takes effect during awesome restart
(including
and the patch :P
From 625468d430714577ae6ec5a87004442ca7348117 Mon Sep 17 00:00:00 2001
From: koniu gkusni...@gmail.com
Date: Sat, 23 May 2009 16:56:41 +0100
Subject: [PATCH] hooks: add exit hook
Signed-off-by: koniu gkusni...@gmail.com
---
awesome.c |5 +
hooks.c | 13 +
Without even judging the idea i wonder, shouldn't an exit hook also
mean a startup hook (maybe just for the real start up)?
Especially if you want to do session management'ish things.
--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.
At Sun, 24 May 2009 18:43:04 +0200
Maarten Maathuis wrote:
Without even judging the idea i wonder, shouldn't an exit hook also
mean a startup hook (maybe just for the real start up)?
Especially if you want to do session management'ish things.
You wouldn't need such a hook. Just append all
rc.lua is also loaded on awesome restart, i can't imagine that you
want to do session management'ish stuff then
--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.
At Sun, 24 May 2009 19:11:42 +0200
Maarten Maathuis wrote:
rc.lua is also loaded on awesome restart, i can't imagine that you
want to do session management'ish stuff then
How would awesome then suppress running the startup hook if it is restarted?
IIRC it does a full execve on itself, so
Property on the root window?
On Sun, May 24, 2009 at 8:00 PM, Gregor Best farha...@googlemail.com wrote:
At Sun, 24 May 2009 19:11:42 +0200
Maarten Maathuis wrote:
rc.lua is also loaded on awesome restart, i can't imagine that you
want to do session management'ish stuff then
How would
10 matches
Mail list logo