category: utility
finished: december 2024
languages: rust
git: piss-daemon
this is a dbus daemon (pissd
) and client (piss-level
) that monitor the international space station's urine tank level
i have it integrated into my status bar (X version):
#...
function piss {
PISS_LEVEL="$(piss-level)";
if [ -n "$PISS_LEVEL" ]; then
echo " ${PISS_LEVEL}%";
fi;
}
#...
while true; do
xsetroot -name "$(piss)$(batt)$(datetime)";
sleep 1;
done;
i made this pretty much entirely so that i could call a program "piss daemon"