From: Silvio Rhatto Date: Mon, 25 Mar 2013 14:38:04 +0000 (-0300) Subject: Adding awesompd only if config exists (3) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=426468c8996ad3acd13733bcf35648b1eccc4d43;p=metadot.git Adding awesompd only if config exists (3) --- 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)