aboutsummaryrefslogtreecommitdiff
path: root/modules/awesome/config.dot/awesome.link/rc.lua
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-03-25 11:33:11 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-03-25 11:33:11 -0300
commit20b5ba61d518bebc5f2a28b4dfa66c8c6294d3f5 (patch)
tree872e136f76be7b0c34f1966838faecec424b2823 /modules/awesome/config.dot/awesome.link/rc.lua
parent76e8cb847f4bfc0474263687586050e010e7a3b6 (diff)
downloaddotfiles-20b5ba61d518bebc5f2a28b4dfa66c8c6294d3f5.tar.gz
dotfiles-20b5ba61d518bebc5f2a28b4dfa66c8c6294d3f5.tar.bz2
Adding awesompd only if config exists
Diffstat (limited to 'modules/awesome/config.dot/awesome.link/rc.lua')
-rw-r--r--modules/awesome/config.dot/awesome.link/rc.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/awesome/config.dot/awesome.link/rc.lua b/modules/awesome/config.dot/awesome.link/rc.lua
index cdb2c69..b4a1db2 100644
--- a/modules/awesome/config.dot/awesome.link/rc.lua
+++ b/modules/awesome/config.dot/awesome.link/rc.lua
@@ -52,11 +52,18 @@ layouts =
}
-- }}}
+-- {{{ Misc functions
+dofile(configdir .. "/functions.lua")
+-- }}}
+
-- {{{ Widgets
-- Leds
dofile(configdir .. "/leds.lua")
-dofile(configdir .. "/awesompd.lua")
dofile(configdir .. "/volume.lua")
+
+if file_exists(homedir .. "/.custom/awesome/awesompd.lua") then
+ dofile(configdir .. "/awesompd.lua")
+end
-- }}}
-- {{{ Tags