From: martin f. krafft Date: Wed, 3 Mar 2010 08:20:52 +0000 (+0100) Subject: fix toggle play for nyxmms2 X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/ba6a24aecf23aab3b7b1b2cd59dbbad773860f1b fix toggle play for nyxmms2 --- diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 83fe0d3..7b2ae0e 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -442,7 +442,7 @@ globalkeys = awful.util.table.join(globalkeys, awful.key({ cmdmodkey }, "End", function () awful.util.spawn("amixer set Master toggle") end), awful.key({ cmdmodkey }, "Left", function () awful.util.spawn("nyxmms2 prev") end), awful.key({ cmdmodkey }, "Right", function () awful.util.spawn("nyxmms2 next") end), - awful.key({ cmdmodkey }, "space", function () awful.util.spawn("nyxmms2 toggleplay") end), + awful.key({ cmdmodkey }, "space", function () awful.util.spawn("nyxmms2 toggle") end), awful.key({ cmdmodkey }, "backslash", function () local f = io.popen('nyxmms2 status', 'r') naughty.notify({ title = "Now playing", text = f:read(), timeout = 5 })