From 12ee58dc46dbaab6117500db09ae32804d162eab Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 3 Jul 2009 13:02:23 +0200 Subject: [PATCH] fix xmms2 xmessage popups --- .config/awesome/rc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5