Nathan Neff a écrit :
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
Hi, I just changed the border colors in my .config/awesome/themes/theme file : border_width = 3 # border_normal = #b03060 for red border_normal = #b03060 # border_focus = #00ff00 for green border_focus = #00ff00 Jean-Luc -- To unsubscribe, send mail to [email protected].
