aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-03-25 11:38:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-03-25 11:38:04 -0300
commit426468c8996ad3acd13733bcf35648b1eccc4d43 (patch)
tree162acdd910f65ce9a68cd62b763dfddc22425004
parentd1f1d35ee981cf9f454699797d04d064c2ff8b87 (diff)
downloadmetadot-426468c8996ad3acd13733bcf35648b1eccc4d43.tar.gz
metadot-426468c8996ad3acd13733bcf35648b1eccc4d43.tar.bz2
Adding awesompd only if config exists (3)
-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)