From: martin f. krafft Date: Sun, 10 Aug 2008 17:46:02 +0000 (-0300) Subject: add statusbar highlighting X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/a56b32a0ed04f4cd360cd5354fab57c856e7f02a?hp=c2686ca5d7949ccea6f2c0a41ddb23bcb01a29c4 add statusbar highlighting Signed-off-by: martin f. krafft --- 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