<- back to projects

pomd

pomodoro timer daemon

category: utility

finished: november 2023

languages: rust

github: exvacuum/pomd exvacuum/pomc

crates.io: pomd pomc


this was a pretty simple rust project i did over the course of a couple days

i had been wanting to experiment with d-bus on linux for a while and figured that writing a pomodoro daemon and client would be a good way to understand the basics of how d-bus interfaces work

luckily i found the wonderful zbus crate which made everything for hooking up interface super simple

i think the hardest thing about this project was trying to figure out how to accurately keep the time left in the timer

as with many problems in rust the solution ended up being to find a crate that implemented a "pausable clock" that worked similarly to a normal rust std::time::Instant

it's pretty configurable from what i remember

i used this program when i was using dwm and wanted a daemon to integrate into my statusbar

pomd segment in my dwm statusbar

now i use KDE plasma which has a pretty good pomodoro applet available, maybe in the future i could make some kind of widget that communicates with the daemon