From 426468c8996ad3acd13733bcf35648b1eccc4d43 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 25 Mar 2013 11:38:04 -0300 Subject: Adding awesompd only if config exists (3) --- modules/awesome/config.dot/awesome.link/keys.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/awesome') 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) -- cgit v1.2.3