From 3ae1307d842b93d02c11fb95990adb9193ef7962 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 29 Jun 2008 18:39:32 +0200 Subject: [PATCH] more xmms2 stuff --- .awesomerc.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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() -- 2.39.5