From: martin f. krafft Date: Sun, 29 Jun 2008 16:39:32 +0000 (+0200) Subject: more xmms2 stuff X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/3ae1307d842b93d02c11fb95990adb9193ef7962 more xmms2 stuff --- diff --git a/.awesomerc.lua b/.awesomerc.lua index 46923cd..6373c1c 100644 --- a/.awesomerc.lua +++ b/.awesomerc.lua @@ -42,7 +42,8 @@ floatings = ["pinentry"] = true, ["GIMP"] = true, ["twinkle"] = true, - ["Add-ons"] = true + ["Add-ons"] = true, + ["Play stream"] = true } -- Color & Appearance definitions, we use these later to display things @@ -392,8 +393,8 @@ keybinding.new({ cmdmodkey }, "End", function () awful.spawn("amixer set Master keybinding.new({ cmdmodkey }, "Left", function () awful.spawn("xmms2 prev") end):add() keybinding.new({ cmdmodkey }, "Right", function () awful.spawn("xmms2 next") end):add() keybinding.new({ cmdmodkey }, "space", function () awful.spawn("xmms2 toggle") end):add() --- keybinding.new({ cmdmodkey }, "backslash", function () awful.spawn("mpc | head -1 | xmessage -nearmouse -timeout 5 -file -") end):add() --- keybinding.new({ cmdmodkey, "Shift" }, "backslash", function () awful.spawn("mpc playlist | xmessage -nearmouse -timeout 5 -file -") end):add() +keybinding.new({ cmdmodkey }, "backslash", function () awful.spawn("xmms2 current | head -1 | xmessage -nearmouse -timeout 5 -file -") end):add() +keybinding.new({ cmdmodkey, "Shift" }, "backslash", function () awful.spawn("xmms2 list | xmessage -nearmouse -timeout 5 -file -") end):add() -- misc apps keybinding.new({ cmdmodkey }, "n", function () awful.spawn("sensible-browser") end):add()