]> git.madduck.net Git - etc/awesome.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

more xmms2 stuff
authormartin f. krafft <madduck@madduck.net>
Sun, 29 Jun 2008 16:39:32 +0000 (18:39 +0200)
committermartin f. krafft <madduck@madduck.net>
Sun, 29 Jun 2008 16:39:32 +0000 (18:39 +0200)
.awesomerc.lua

index 46923cd5ae445a0621ba95ae1920101d61ed1b36..6373c1c2cf71b8a53384cca32e877581a8681247 100644 (file)
@@ -42,7 +42,8 @@ floatings =
     ["pinentry"] = true,
     ["GIMP"] = true,
     ["twinkle"] = true,
     ["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
 }
 
 -- 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 }, "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()
 
 -- misc apps
 keybinding.new({ cmdmodkey }, "n", function () awful.spawn("sensible-browser") end):add()