From a56b32a0ed04f4cd360cd5354fab57c856e7f02a Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 10 Aug 2008 14:46:02 -0300 Subject: [PATCH 1/1] add statusbar highlighting Signed-off-by: martin f. krafft --- .config/awesome/rc.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index f7a4bd0..dce2395 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -457,3 +457,12 @@ keybinding({ cmdmodkey }, "r", function () awful.spawn("gmrun") end):add() keybinding({ cmdmodkey }, "j", function () awful.spawn("jpilot") end):add() keybinding({ cmdmodkey }, "x", function () awful.spawn("/sbin/start-stop-daemon --start --background --exec /usr/bin/xscreensaver; xscreensaver-command -lock") end):add() keybinding({ cmdmodkey, "Shift" }, "x", function () awful.spawn("xscreensaver-command -exit") end):add() + +-- Highlight statusbars on the screen that has focus, +-- set this to false if you only have one screen or +-- you don't like it :P +if screen.count() > 1 then + statusbar_highlight_focus = true +else + statusbar_highlight_focus = false +end -- 2.39.5