summaryrefslogtreecommitdiff
path: root/projects/piss_daemon
diff options
context:
space:
mode:
authorsoaos <soaos@soaos.dev>2025-08-12 23:17:55 -0400
committersoaos <soaos@soaos.dev>2025-08-12 23:17:55 -0400
commit3f114ebe5c4d3618504b0e623b52c22e262de854 (patch)
tree9a16dc198fa3140dcff62e997a285246f5f24059 /projects/piss_daemon
parent20c1ed2c45abf792ddc09e1aa757443bec2a1f92 (diff)
Moved public files to root
Diffstat (limited to 'projects/piss_daemon')
-rw-r--r--projects/piss_daemon/index.html43
-rw-r--r--projects/piss_daemon/statusbar.pngbin0 -> 4546 bytes
2 files changed, 43 insertions, 0 deletions
diff --git a/projects/piss_daemon/index.html b/projects/piss_daemon/index.html
new file mode 100644
index 0000000..5cb9481
--- /dev/null
+++ b/projects/piss_daemon/index.html
@@ -0,0 +1,43 @@
+<html lang="en">
+
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>Piss Daemon - soaos</title>
+</head>
+
+<body>
+ <a href="/">Go Home</a>
+ <a href="..">Go Back</a>
+ <h1>Piss Daemon</h1>
+ <h2>About</h2>
+ <p>This is a D-Bus daemon (<code>pissd</code>) and client (<code>piss-level</code>) that monitor the international
+ space station's urine tank level.</p>
+ <p>I have it integrated into my status bar (X version):</p>
+ <img src="statusbar.png"
+ alt="A screenshot of an X11 statusbar showing the piss daemon piss level next to a toilet icon.">
+ <pre>
+ #...
+
+ 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;
+ </pre>
+ <p>I made this pretty much entirely so that I could call a program "piss daemon".</p>
+ <h2>External Links</h2>
+ <ul>
+ <li><a href="https://git.soaos.dev/soaos/piss-daemon" target="_blank">git repo</a></li>
+ </ul>
+</body>
+
+</html> \ No newline at end of file
diff --git a/projects/piss_daemon/statusbar.png b/projects/piss_daemon/statusbar.png
new file mode 100644
index 0000000..b98e021
--- /dev/null
+++ b/projects/piss_daemon/statusbar.png
Binary files differ