From b99e4252935415abd380dafc218395ebf5a3e8de Mon Sep 17 00:00:00 2001 From: Alexander Yakushev Date: Wed, 22 Jun 2011 16:45:02 +0300 Subject: Moved cache to default awesome cache dir (thanks to nberth) --- awesompd.lua | 6 +----- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3