From: martin f. krafft Date: Fri, 3 Jul 2009 11:02:23 +0000 (+0200) Subject: fix xmms2 xmessage popups X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/12ee58dc46dbaab6117500db09ae32804d162eab fix xmms2 xmessage popups --- diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 8e6cc7f..2ef64d3 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -376,8 +376,8 @@ globalkeys = awful.util.table.join(globalkeys, awful.key({ cmdmodkey }, "Left", function () awful.util.spawn("xmms2 prev") end), awful.key({ cmdmodkey }, "Right", function () awful.util.spawn("xmms2 next") end), awful.key({ cmdmodkey }, "space", function () awful.util.spawn("xmms2 toggleplay") end), - awful.key({ cmdmodkey }, "backslash", function () awful.util.spawn("xmms2 current | head -1 | xmessage -nearmouse -timeout 5 -file -") end), - awful.key({ cmdmodkey, "Shift" }, "backslash", function () awful.util.spawn("xmms2 list | xmessage -nearmouse -timeout 5 -file -") end) + awful.key({ cmdmodkey }, "backslash", function () awful.util.spawn_with_shell("xmms2 current | head -1 | xmessage -nearmouse -timeout 5 -file -") end), + awful.key({ cmdmodkey, "Shift" }, "backslash", function () awful.util.spawn_with_shell("xmms2 list | xmessage -nearmouse -timeout 5 -file -") end) ) -- misc apps