From 22592e96a75bd617fe6a9aae146b957695532e7c Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Sat, 3 May 2025 03:53:42 -0400 Subject: Added piss daemon page --- public/projects/piss_daemon/index.html | 39 ++++++++++++++++++++++++++++++ public/projects/piss_daemon/statusbar.png | Bin 0 -> 4546 bytes 2 files changed, 39 insertions(+) create mode 100644 public/projects/piss_daemon/index.html create mode 100644 public/projects/piss_daemon/statusbar.png (limited to 'public/projects') diff --git a/public/projects/piss_daemon/index.html b/public/projects/piss_daemon/index.html new file mode 100644 index 0000000..47f6d63 --- /dev/null +++ b/public/projects/piss_daemon/index.html @@ -0,0 +1,39 @@ + + + + + + Piss Daemon - soaos + + + + Go Home + Go Back +

Piss Daemon

+

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

+ + + \ No newline at end of file diff --git a/public/projects/piss_daemon/statusbar.png b/public/projects/piss_daemon/statusbar.png new file mode 100644 index 0000000..b98e021 Binary files /dev/null and b/public/projects/piss_daemon/statusbar.png differ -- cgit v1.2.3