On 11.10.2012 10:00, debecio wrote:
On 09-10-12 21:32, Walter White wrote:
Using signals:

client.connect_signal("property::ontop",
function(c)
     if c == client.focus then
         c.border_color = beautiful.border_focus
     elseif c.ontop then
         c.border_color = beautiful.border_ontop
     else
         c.border_color = beautiful.border_normal
     end
end)

Entirely untested, but something like this should work without adding
anything to the keybinds.

Thanks, but I got a error:
attempt to call field '?' (a nil value)

on line:
client.connect_signal("property::ontop",

Try add_signal() instead of connect_signal(). (add_signal() is for awesome 3.4, connect_signal is git/master)

Uli

--
To unsubscribe, send mail to [email protected].

Reply via email to