From ba6a24aecf23aab3b7b1b2cd59dbbad773860f1b Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 3 Mar 2010 09:20:52 +0100 Subject: [PATCH] fix toggle play for nyxmms2 --- .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 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 }) -- 2.39.2