]> git.madduck.net Git - etc/awesome.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

add statusbar highlighting
authormartin f. krafft <madduck@madduck.net>
Sun, 10 Aug 2008 17:46:02 +0000 (14:46 -0300)
committermartin f. krafft <madduck@madduck.net>
Sun, 10 Aug 2008 17:46:02 +0000 (14:46 -0300)
Signed-off-by: martin f. krafft <madduck@madduck.net>
.config/awesome/rc.lua

index f7a4bd0ec09ca304da127b91ef117d107a90da54..dce23958dac9a89c54b4c79f7cc35a41c38bb693 100644 (file)
@@ -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