Go Home Go Back

Piss Daemon

About

This is a D-Bus 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):

A screenshot of an X11 statusbar showing the piss daemon piss level next to a toilet icon.
	#...

	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".

External Links