From: martin f. krafft Date: Tue, 15 Jul 2008 16:50:48 +0000 (+0200) Subject: fix xmms2 toggle X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/26d02bf3df41aa8b2deaacba948079252ac635c4 fix xmms2 toggle --- diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index d2c717e..7a3c120 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -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 }, "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()