aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/awesome/config.dot/awesome.link/keys.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/awesome/config.dot/awesome.link/keys.lua b/modules/awesome/config.dot/awesome.link/keys.lua
index 46e3428..f96ec4f 100644
--- a/modules/awesome/config.dot/awesome.link/keys.lua
+++ b/modules/awesome/config.dot/awesome.link/keys.lua
@@ -24,7 +24,9 @@ globalkeys = awful.util.table.join(root.keys(),
)
-- Append keys from music widget
-musicwidget:append_global_keys()
+if awesompd == true then
+ musicwidget:append_global_keys()
+end
-- Set keys
root.keys(globalkeys)