tw

Crates.iotw
lib.rstw
version0.1.0
sourcesrc
created_at2024-09-18 19:19:34.437009
updated_at2024-09-18 19:19:34.437009
descriptionYour todos, as your wallpaper
homepage
repository
max_upload_size
id1379541
size1,065
Suryansh (Frixoe)

documentation

README

tw

Your todos, as your wallpaper.

Config

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

Build

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

Usage

Create a timer to run this as often as you expect to be changing your tasks

Commands

TODO

Commit count: 0

cargo fmt