diff --git a/todo-widget/checkbox-checked-symbolic.svg b/todo-widget/checkbox-checked-symbolic.svg
new file mode 100644
index 0000000..afeca62
--- /dev/null
+++ b/todo-widget/checkbox-checked-symbolic.svg
@@ -0,0 +1,148 @@
+
+
+
+
diff --git a/todo-widget/list-add-symbolic.svg b/todo-widget/list-add-symbolic.svg
new file mode 100644
index 0000000..9cc2d3a
--- /dev/null
+++ b/todo-widget/list-add-symbolic.svg
@@ -0,0 +1,157 @@
+
+
+
+
diff --git a/todo-widget/todo.lua b/todo-widget/todo.lua
index f8e2977..befe51e 100644
--- a/todo-widget/todo.lua
+++ b/todo-widget/todo.lua
@@ -17,12 +17,12 @@ local beautiful = require("beautiful")
local gfs = require("gears.filesystem")
local HOME_DIR = os.getenv("HOME")
-
+local WIDGET_DIR = HOME_DIR .. '/.config/awesome/awesome-wm-widgets/todo-widget'
local STORAGE = HOME_DIR .. '/.cache/awmw/todo-widget/todos.json'
+
local GET_TODO_ITEMS = 'bash -c "cat ' .. STORAGE .. '"'
local rows = { layout = wibox.layout.fixed.vertical }
-
local todo_widget = {}
todo_widget.widget = wibox.widget {
@@ -74,7 +74,7 @@ local popup = awful.popup{
local add_button = wibox.widget {
{
{
- image = '/usr/share/icons/Arc/actions/symbolic/list-add-symbolic.svg',
+ image = WIDGET_DIR .. '/list-add-symbolic.svg',
resize = false,
widget = wibox.widget.imagebox
},
@@ -130,7 +130,7 @@ local function worker(args)
local args = args or {}
- local icon = args.icon or '/usr/share/icons/Arc/status/symbolic/checkbox-checked-symbolic.svg'
+ local icon = args.icon or WIDGET_DIR .. '/checkbox-checked-symbolic.svg'
todo_widget.widget:set_icon(icon)
@@ -185,7 +185,7 @@ local function worker(args)
local trash_button = wibox.widget {
{
- { image = '/usr/share/icons/Arc/actions/symbolic/window-close-symbolic.svg',
+ { image = WIDGET_DIR .. '/window-close-symbolic.svg',
resize = false,
widget = wibox.widget.imagebox
},
diff --git a/todo-widget/window-close-symbolic.svg b/todo-widget/window-close-symbolic.svg
new file mode 100644
index 0000000..46ff888
--- /dev/null
+++ b/todo-widget/window-close-symbolic.svg
@@ -0,0 +1,95 @@
+
+
+
+