diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-03-25 11:35:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-03-25 11:35:19 -0300 |
commit | d1f1d35ee981cf9f454699797d04d064c2ff8b87 (patch) | |
tree | a30f837fbe6a774cf10d0f4b552a994dddf86cb7 /modules | |
parent | 20b5ba61d518bebc5f2a28b4dfa66c8c6294d3f5 (diff) | |
download | dotfiles-d1f1d35ee981cf9f454699797d04d064c2ff8b87.tar.gz dotfiles-d1f1d35ee981cf9f454699797d04d064c2ff8b87.tar.bz2 |
Adding awesompd only if config exists (2)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/awesome/config.dot/awesome.link/rc.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/awesome/config.dot/awesome.link/rc.lua b/modules/awesome/config.dot/awesome.link/rc.lua index b4a1db2..554c42e 100644 --- a/modules/awesome/config.dot/awesome.link/rc.lua +++ b/modules/awesome/config.dot/awesome.link/rc.lua @@ -62,6 +62,7 @@ dofile(configdir .. "/leds.lua") dofile(configdir .. "/volume.lua") if file_exists(homedir .. "/.custom/awesome/awesompd.lua") then + awesompd = true dofile(configdir .. "/awesompd.lua") end -- }}} @@ -173,7 +174,7 @@ for s = 1, screen.count() do s == 1 and mysystray or nil, volume_widget, myledbox, - musicwidget.widget, + awesompd == true and musicwidget.widget or nil, mytasklist[s], layout = awful.widget.layout.horizontal.rightleft } |