aboutsummaryrefslogtreecommitdiff
path: root/awesompd.lua
diff options
context:
space:
mode:
authorAlexander Yakushev <yakushev.alex@gmail.com>2011-06-22 16:45:02 +0300
committerAlexander Yakushev <yakushev.alex@gmail.com>2011-06-22 17:01:47 +0300
commitab00f8f036589e2ea7c5db325b0978d88fad2d84 (patch)
tree5088b711e9fe4a4614402fc950b7199346bdc2cb /awesompd.lua
parent0066060ea80221ee843b080d1efbed1f9ee36ab1 (diff)
downloadawesompd-ab00f8f036589e2ea7c5db325b0978d88fad2d84.tar.gz
awesompd-ab00f8f036589e2ea7c5db325b0978d88fad2d84.tar.bz2
Moved cache to default awesome cache dir (thanks to nberth)
Diffstat (limited to 'awesompd.lua')
-rw-r--r--awesompd.lua6
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