]> git.madduck.net Git - etc/awesome.git/blobdiff - .config/awesome/rc.lua

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:

fix xmms2 toggle
[etc/awesome.git] / .config / awesome / rc.lua
index d2c717ea9648422fc797c87d0b26e0c8eac5d854..7a3c1209f28a632f91ca2ee3ca0146ce5e849ca8 100644 (file)
@@ -410,7 +410,7 @@ keybinding({ cmdmodkey }, "Home", function () awful.spawn("amixer set Mic toggle
 keybinding({ cmdmodkey }, "End", function () awful.spawn("amixer set Master toggle") end):add()
 keybinding({ cmdmodkey }, "Left", function () awful.spawn("xmms2 prev") end):add()
 keybinding({ cmdmodkey }, "Right", function () awful.spawn("xmms2 next") end):add()
 keybinding({ cmdmodkey }, "End", function () awful.spawn("amixer set Master toggle") end):add()
 keybinding({ cmdmodkey }, "Left", function () awful.spawn("xmms2 prev") end):add()
 keybinding({ cmdmodkey }, "Right", function () awful.spawn("xmms2 next") end):add()
-keybinding({ cmdmodkey }, "space", function () awful.spawn("xmms2 toggle") end):add()
+keybinding({ cmdmodkey }, "space", function () awful.spawn("xmms2 toggleplay") end):add()
 keybinding({ cmdmodkey }, "backslash", function () awful.spawn("xmms2 current | head -1 | xmessage -nearmouse -timeout 5 -file -") end):add()
 keybinding({ cmdmodkey, "Shift" }, "backslash", function () awful.spawn("xmms2 list | xmessage -nearmouse -timeout 5 -file -") end):add()
 
 keybinding({ cmdmodkey }, "backslash", function () awful.spawn("xmms2 current | head -1 | xmessage -nearmouse -timeout 5 -file -") end):add()
 keybinding({ cmdmodkey, "Shift" }, "backslash", function () awful.spawn("xmms2 list | xmessage -nearmouse -timeout 5 -file -") end):add()