From d24fbe948a8fc1f518c4d66967b355dee787f6fa Mon Sep 17 00:00:00 2001 From: Bart Verhagen Date: Wed, 29 Apr 2020 10:50:20 +0200 Subject: Fix: Usr: Replaced hardcoded path to author's home directory with the STORAGE variable Resolves #134 --- todo-widget/todo.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'todo-widget') diff --git a/todo-widget/todo.lua b/todo-widget/todo.lua index ee459cf..be76e2e 100644 --- a/todo-widget/todo.lua +++ b/todo-widget/todo.lua @@ -202,7 +202,7 @@ local function worker(args) trash_button:connect_signal("button::press", function(c) table.remove(result.todo_items, i) - spawn.easy_async_with_shell("printf '" .. json.encode(result) .. "' > /home/pmakhov/.cache/awmw/todo-widget/todos.json") + spawn.easy_async_with_shell("printf '" .. json.encode(result) .. "' > " .. STORAGE) spawn.easy_async(GET_TODO_ITEMS, function(stdout) update_widget(stdout) end) end) -- cgit v1.2.3