X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/36cbfe41b3e7e243719bf94c23c8d0232c0e8268..12ee58dc46dbaab6117500db09ae32804d162eab:/.config/awesome/rc.lua 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