From: Alexander Yakushev Date: Wed, 22 Jun 2011 13:45:02 +0000 (+0300) Subject: Moved cache to default awesome cache dir (thanks to nberth) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b99e4252935415abd380dafc218395ebf5a3e8de;p=awesompd.git Moved cache to default awesome cache dir (thanks to nberth) --- 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