From 22d4a7316f7639098fa56dbceb981580d6285248 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 28 Feb 2013 16:52:35 -0300 Subject: Adding awesompd widget --- modules/awesome/config.dot/awesome.link/keys.lua | 3 +++ modules/awesome/config.dot/awesome.link/rc.lua | 2 ++ 2 files changed, 5 insertions(+) (limited to 'modules') diff --git a/modules/awesome/config.dot/awesome.link/keys.lua b/modules/awesome/config.dot/awesome.link/keys.lua index 0ec5e0c..46e3428 100644 --- a/modules/awesome/config.dot/awesome.link/keys.lua +++ b/modules/awesome/config.dot/awesome.link/keys.lua @@ -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) diff --git a/modules/awesome/config.dot/awesome.link/rc.lua b/modules/awesome/config.dot/awesome.link/rc.lua index d8073fd..baebd49 100644 --- a/modules/awesome/config.dot/awesome.link/rc.lua +++ b/modules/awesome/config.dot/awesome.link/rc.lua @@ -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 } -- cgit v1.2.3