X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e1986c1dcb84d6a73f142b70fc83e16976932097..30ab821eb99ad9e9ea890176895050a3c8e7b48d:/.awesomerc.lua?ds=inline
diff --git a/.awesomerc.lua b/.awesomerc.lua
index 7c6417f..ef47a5e 100644
--- a/.awesomerc.lua
+++ b/.awesomerc.lua
@@ -1,7 +1,7 @@
-- awesome 3 configuration file
-AWESOME_DATADIR = "/home/madduck/code"
-package.path = AWESOME_DATADIR .. "/awesome/lib/?.lua;" .. package.path
+AWESOME_DATADIR = "/home/madduck/code/awesome"
+package.path = AWESOME_DATADIR .. "/lib/?.lua;" .. package.path
-- Include awesome library, with lots of useful function!
require("awful")
@@ -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
@@ -106,10 +107,6 @@ mytextbox = widget.new({ type = "textbox", name = "mytextbox", align = "right" }
mytextbox.text = " awesome " .. AWESOME_VERSION .. " "
mypromptbox = widget.new({ type = "textbox", name = "mypromptbox", align = "left" })
--- Create an iconbox widget
-myiconbox = widget.new({ type = "textbox", name = "myiconbox", align = "left" })
-myiconbox.text = ""
-
-- Create a systray
mysystray = widget.new({ type = "systray", name = "mysystray", align = "right" })
@@ -132,7 +129,6 @@ for s = 1, screen.count() do
fg = fg_normal, bg = bg_normal })
-- Add widgets to the statusbar - order matters
mystatusbar[s]:widget_add(mytaglist)
- mystatusbar[s]:widget_add(myiconbox)
mystatusbar[s]:widget_add(mytasklist)
mystatusbar[s]:widget_add(mypromptbox)
mystatusbar[s]:widget_add(mytextbox)
@@ -392,8 +388,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()