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

32 lines
1.2 KiB
Markdown
Raw Normal View History

2020-04-03 04:23:07 +02:00
---
layout: page
---
2020-05-01 02:58:02 +02:00
# ToDo Widget
2020-04-03 04:23:07 +02:00
2020-05-01 02:58:02 +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:23:07 +02:00
![screenshot](../awesome-wm-widgets/assets/img/screenshots/todo-widget/todo.gif)
# Installation
2020-05-01 02:58:02 +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-13 21:43:50 +02:00
2020-05-01 02:58:02 +02:00
Then clone this repository under **~/.config/awesome/** and add the widget in **rc.lua**:
2020-04-03 04:23:07 +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-13 21:43:50 +02:00
```
2020-05-01 02:58:02 +02:00
Also note that widget uses [Arc Icons](../awesome-wm-widgets/assets/img/screenshots/todo-widgetttps://github.com/horst3180/arc-icon-theme) 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 a widget parameters.