From 26d02bf3df41aa8b2deaacba948079252ac635c4 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 15 Jul 2008 18:50:48 +0200 Subject: [PATCH] fix xmms2 toggle --- .config/awesome/rc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.5