Hello,

I'm looking to just draw some kind of a small box around the client
that has the focus.

I'm using awesome 3.1.2

I've already tried this approach, but nothing happens:

-- Gets executed when focusing a client
awful.hooks.focus.register(function (c)
    if not awful.client.ismarked(c) then
        c.border_color = beautiful.border_focus
    end
end)

-- Gets executed when unfocusing a client
awful.hooks.unfocus.register(function (c)
    if not awful.client.ismarked(c) then
        c.border_color = beautiful.border_normal
    end
end)

-- Hook function to execute when marking a client
awful.hooks.marked.register(function (c)
    c.border_color = beautiful.border_marked
end)

-- Hook function to execute when unmarking a client.
awful.hooks.unmarked.register(function (c)
    c.border_color = beautiful.border_focus
end)

I'm using the default awesome theme.

Thanks,
--Nate

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

Reply via email to