summaryrefslogtreecommitdiff
path: root/todo-widget/todo.lua
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@gmail.com>2020-04-29 08:47:27 -0400
committerstreetturtle <streetturtle@gmail.com>2020-04-29 08:47:27 -0400
commitda34ea0b352bc22fdfcddb5a5a0dffa9729bc8b3 (patch)
tree294dcf417252186453eed1195beff35214372403 /todo-widget/todo.lua
parent39500cd9440b766784c5cfa5e5b558245fd7e8e0 (diff)
parent837fc34abda67143d0ce59c4fff64009e16b02d2 (diff)
Merge branch 'master' of github.com:streetturtle/awesome-wm-widgets
Diffstat (limited to 'todo-widget/todo.lua')
-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)