]> gitweb.fluxo.info Git - metadot.git/commitdiff
Adding awesompd widget
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 28 Feb 2013 19:52:35 +0000 (16:52 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 28 Feb 2013 19:52:35 +0000 (16:52 -0300)
.gitmodules
modules/awesome/config.dot/awesome.link/keys.lua
modules/awesome/config.dot/awesome.link/rc.lua

index 9fca48f74850f4a3ddc39e8a1629f9f0917eca77..5e658ebad71b85a0c34497e4eeecb295fe50b7ad 100644 (file)
@@ -16,3 +16,6 @@
 [submodule "modules/vim/vim.dot.link/bundle/tabular"]
        path = modules/vim/vim.dot.link/bundle/tabular
        url = https://github.com/godlygeek/tabular.git
+[submodule "modules/awesome/config.dot/awesome.link/awesompd"]
+       path = modules/awesome/config.dot/awesome.link/awesompd
+       url = https://github.com/alexander-yakushev/awesompd
index 0ec5e0cc1c9388d36f0d8be5a8c159d7598c2be9..46e3428f07e6961a6c322b74a83cfac0ac6c27fe 100644 (file)
@@ -23,5 +23,8 @@ globalkeys = awful.util.table.join(root.keys(),
     awful.key({ }, "XF86AudioMute", function () awful.util.spawn("amixer sset Master toggle", false) end)
 )
 
+-- Append keys from music widget
+musicwidget:append_global_keys()
+
 -- Set keys
 root.keys(globalkeys)
index d8073fd669aaa5333ecd44ad2e03fa2b17673c69..baebd49aa1681b69790e34fbe3985c72a7aa6e3f 100644 (file)
@@ -55,6 +55,7 @@ layouts =
 -- {{{ Widgets
 -- Leds
 dofile(configdir .. "/leds.lua")
+dofile(configdir .. "/awesompd.lua")
 --dofile(configdir .. "/volume.lua")
 -- }}}
 
@@ -164,6 +165,7 @@ for s = 1, screen.count() do
         mytextclock,
         s == 1 and mysystray or nil,
         myledbox,
+        musicwidget.widget,
         mytasklist[s],
         layout = awful.widget.layout.horizontal.rightleft
     }