Hi. On Sat 2009-03-07 01:58, Gregor Best <[email protected]> proclaimed: > What does the keybinding look like? I had a similar issue where xtrlock would > just return if I bound it to key press. The trick is to bind it to key > release, > like this: > key({ modkey, "Mod1" }, "l", nil, function () awful.util.spawn("xtrlock") > end)
If have it like this:
table.insert(globalkeys, key({ modkey }, "q", function()
--awful.util.spawn("/home/yogan/bin/hammerlock-simple.sh")
awful.util.spawn("xtrlock")
end))
How do I bind to a key release? What is the nil in your key doing? It
tried to put that in my binding, but it did not work. (Actually, it made
all my other keybindings not work anymore after I have pressed modkey+q.)
Greetings,
Frank
--
Frank Blendinger | fb(at)intoxicatedmind.net | GPG: 0x0BF2FE7A
Fingerprint: BB64 F2B8 DFD8 BF90 0F2E 892B 72CF 7A41 0BF2 FE7A
"Just because I don't care doesn't mean I don't understand."
(Homer Simpson)
signature.asc
Description: Digital signature
