awesome-wm-widgets/todo-widget/README.md

29 lines
1.1 KiB
Markdown
Raw Normal View History

2020-04-30 17:25:49 +02:00
# ToDo Widget
2020-04-03 04:21:58 +02:00
2020-04-30 17:25:49 +02:00
This widget displays a list of to do items and allows to mark item as done/undone, delete an item and create new ones:
2020-04-03 04:21:58 +02:00
![screenshot](./todo.gif)
# Installation
2020-04-30 17:28:33 +02:00
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 :)
2020-04-04 21:11:33 +02:00
2020-04-30 17:28:33 +02:00
Then clone this repository under **~/.config/awesome/** and add the widget in **rc.lua**:
2020-04-03 04:21:58 +02:00
```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(),
...
2020-04-04 21:11:33 +02:00
```
2020-04-30 17:25:49 +02:00
Also note that widget uses [Arc Icons](https://github.com/horst3180/arc-icon-theme) and expects them to be installed under `/usr/share/icons/Arc/`.
# Theming
2020-04-30 17:28:33 +02:00
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 a widget parameters.