diff options
author | Alexander Yakushev <yakushev.alex@gmail.com> | 2011-06-22 16:45:02 +0300 |
---|---|---|
committer | Alexander Yakushev <yakushev.alex@gmail.com> | 2011-06-22 16:45:02 +0300 |
commit | b99e4252935415abd380dafc218395ebf5a3e8de (patch) | |
tree | 5088b711e9fe4a4614402fc950b7199346bdc2cb | |
parent | 0066060ea80221ee843b080d1efbed1f9ee36ab1 (diff) | |
download | awesompd-b99e4252935415abd380dafc218395ebf5a3e8de.tar.gz awesompd-b99e4252935415abd380dafc218395ebf5a3e8de.tar.bz2 |
Moved cache to default awesome cache dir (thanks to nberth)
-rw-r--r-- | awesompd.lua | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/awesompd.lua b/awesompd.lua index 6a452ce..042b4f6 100644 --- a/awesompd.lua +++ b/awesompd.lua @@ -501,11 +501,7 @@ function awesompd:wrap_output(text) end function awesompd:retrieve_cache() - if self.path_to_icons == "" then - self.filename = "jamendo_cache" - else - self.filename = self.path_to_icons .. "/jamendo_cache" - end + self.filename = awful.util.getdir ("cache").."/jamendo_cache" local bus = io.open(self.filename) if bus then for l in bus:lines() do |