From cd024821b541a30671d7bbf012fe5472653613df Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 21 Aug 2009 16:08:38 +0200 Subject: [PATCH] awesomerc: add border color change on {un,}focus Signed-off-by: Julien Danjou --- awesomerc.lua.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/awesomerc.lua.in b/awesomerc.lua.in index b508758f7..d7d0795fa 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -359,4 +359,7 @@ client.add_signal("manage", function (c, startup) -- Honor size hints: if you want to drop the gaps between windows, set this to false. -- c.size_hints_honor = false end) + +client.add_signal("focus", function(c) c.border_color = beautiful.border_focus end) +client.add_signal("unfocus", function(c) c.border_color = beautiful.border_normal end) -- }}}