aboutsummaryrefslogtreecommitdiff
path: root/modules/awesome
diff options
context:
space:
mode:
Diffstat (limited to 'modules/awesome')
-rw-r--r--modules/awesome/config.dot/awesome.link/rc.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/awesome/config.dot/awesome.link/rc.lua b/modules/awesome/config.dot/awesome.link/rc.lua
index b4a1db2..554c42e 100644
--- a/modules/awesome/config.dot/awesome.link/rc.lua
+++ b/modules/awesome/config.dot/awesome.link/rc.lua
@@ -62,6 +62,7 @@ dofile(configdir .. "/leds.lua")
dofile(configdir .. "/volume.lua")
if file_exists(homedir .. "/.custom/awesome/awesompd.lua") then
+ awesompd = true
dofile(configdir .. "/awesompd.lua")
end
-- }}}
@@ -173,7 +174,7 @@ for s = 1, screen.count() do
s == 1 and mysystray or nil,
volume_widget,
myledbox,
- musicwidget.widget,
+ awesompd == true and musicwidget.widget or nil,
mytasklist[s],
layout = awful.widget.layout.horizontal.rightleft
}