Subject: Re: Hotkey support via powerd
To: Sverre Froyen <email@example.com>
From: Jared D. McNeill <firstname.lastname@example.org>
Date: 12/22/2007 13:06:22
On Sat, 22 Dec 2007, Sverre Froyen wrote:
> I can see that hardcoding the user script names could be considered awkward,
> however. A slightly more general solution might be a user .powerd
> (.powerdrc?) user file that provides the script names. This file could be
> read by the powerd scripts. If an even more general solution is needed,
> perhaps powerd could be modified so that a user could register a script to be
> run when a button is pressed.
Not a bad idea, but how do you know which user pressed the hotkey?