dotfiles/awesome/awesome-wm-widgets/todo-widget
ngoomie 3e454a4b0e WM config stuff 2023-04-19 22:08:44 -06:00
..
README.md WM config stuff 2023-04-19 22:08:44 -06:00
checkbox-checked-symbolic.svg WM config stuff 2023-04-19 22:08:44 -06:00
chevron-down.svg WM config stuff 2023-04-19 22:08:44 -06:00
chevron-up.svg WM config stuff 2023-04-19 22:08:44 -06:00
list-add-symbolic.svg WM config stuff 2023-04-19 22:08:44 -06:00
todo.gif WM config stuff 2023-04-19 22:08:44 -06:00
todo.lua WM config stuff 2023-04-19 22:08:44 -06:00
window-close-symbolic.svg WM config stuff 2023-04-19 22:08:44 -06:00

README.md

ToDo Widget

This widget displays a list of todo items and allows marking item as done/undone, delete an item and create new ones:

screenshot

Installation

Widget persists todo items as a JSON, so in order to simplify JSON serialisation/deserialisation download a json.lua from this repository: https://github.com/rxi/json.lua under ~/.config/awesone folder. And don't forget to star a repo :)

Then clone this repository under ~/.config/awesome/ and add the widget in rc.lua:

local todo_widget = require("awesome-wm-widgets.todo-widget.todo")
...
s.mytasklist, -- Middle widget
	{ -- Right widgets
    	layout = wibox.layout.fixed.horizontal,
		...
        -- default        
        todo_widget(),
		...      

Also note that widget uses Arc Icons and expects them to be installed under /usr/share/icons/Arc/.

Theming

Widget uses your theme's colors. In case you want to have different colors, without changing your theme, please create an issue for it. I'll extract them as widget parameters.