Crates.io | tw |
lib.rs | tw |
version | 0.1.0 |
source | src |
created_at | 2024-09-18 19:19:34.437009 |
updated_at | 2024-09-18 19:19:34.437009 |
description | Your todos, as your wallpaper |
homepage | |
repository | |
max_upload_size | |
id | 1379541 |
size | 1,065 |
Your todos, as your wallpaper.
Store your config in ~/.config/tw/config.json
in the following format:
{
"apiKey": "superSecretAPIKey",
"font": {
"path": "poppins.ttf",
"size": 30
},
"widthOffsetPerc": 50,
"startHeight": 170,
"heightIncrement": 50,
"outputImage": {
"path": "~/.config/tw/output.png",
"width": 1920,
"height": 1080
},
"todosPath": "~/dev/projects/tw/todods",
"bgSetCommand": "swaymsg output HDMI-A-1 bg ~/.config/tw/output.png fill"
}
If you set relative paths, they will be inferred at runtime, relative to where the binary is being run from
To build the project:
sudo apt install lld llvm clang gcc g++ # figure out how to install for your linux distro
git clone https://github.com/Frixoe/tw.git
cd tw
cargo build --release
mv target/release/tw ~/.local/bin/
Make sure
~/.local/bin
is in your $PATH
Create a timer to run this as often as you expect to be changing your tasks
TODO