summaryrefslogtreecommitdiff
path: root/todo-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2020-04-29 06:40:43 -0400
committerGitHub <noreply@github.com>2020-04-29 06:40:43 -0400
commit837fc34abda67143d0ce59c4fff64009e16b02d2 (patch)
tree754d61c04fa0e402c3f9de533e12a18f5011ff03 /todo-widget
parent99501f066d26fd003edce07f839c8dccfa724a73 (diff)
parentd24fbe948a8fc1f518c4d66967b355dee787f6fa (diff)
Merge pull request #135 from bverhagen/master
Fix: Usr: Replaced hardcoded path to author's home directory with the STORAGE variable
Diffstat (limited to 'todo-widget')
-rw-r--r--todo-widget/todo.lua2
1 files changed, 1 insertions, 1 deletions
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)