/rusty-warrior

Simple taskwarrior notifications in rust

Primary LanguageRustGNU General Public License v3.0GPL-3.0

Rusty Warrior

Simple tool to get notifications about urgent tasks from Taskwarrior in rust, with specific notification box.

The configuration file (to come) allows to select how many tasks you want to see, from wich report, and context.

Prerequisites

Have your "copy" of rust installed.

This project has been tested only better with dunst.

Example dunst configuration:

[taskwarrior]
appname = "taskwarrior"
frame_color = "#C6A13F"
foreground = "#ffffff"
background = "#170F0D"
timeout = 20

Settings.toml

This file is read at runtime and can be changed before running the program. There are 3 values you can set:

  • tasks_to_show => Number of tasks notifcations you'd like to see pop-up. [Defaults to 3]
  • exclude_project => If there are some projects you'd like to filter out from the notification. [Defaults to ""]
  • dunst_appname => If you've configured your dunstrc to something similar as above, set the appname from dunstrc here. [Defaults to ""]

Installation

Simply run:

$ cargo build

or

$ cargo run

Add the executable to you $PATH, and copy/move the Settings.toml file to the directory where rusty-warrior is stored.

Contributing

Note: This project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See the CODE OF CONDUCT file for details.

  1. Fork it!
  2. Create your feature branch: git checkout -b feature/name-of-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin feature/my-new-feature
  5. Submit a pull request

Authors

License

This project is licensed under the GNU General Public License - see the LICENSE.md file for details.