aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorlamp2023-03-05 21:41:49 +0000
committerlamp2023-03-05 21:41:49 +0000
commit14b336eb507c69706aacc55e872824b4fcf8acaa (patch)
tree69e686d95dcec8c419269e2eff9cb0c081b6fa3e /README.md
init
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..0b7adaa
--- /dev/null
+++ b/README.md
@@ -0,0 +1,17 @@
+# writed
+
+writed is a tiny daemon that displays messages received via the traditional `write`/`wall` mechanism as desktop notifications via `libnotify`.
+
+## building
+
+You'll need `libnotify`, `pkg-config`, and a C compiler.
+
+```
+gcc -std=c89 -lutil `pkg-config --cflags --libs libnotify` main.c -o writed
+```
+
+writed **must** be setgid `utmp`. `write` and `wall` only send messages to `pts` devices registered in `/var/run/utmp`, and without setgid `utmp`, writed will silently fail to receive messages.
+
+## usage
+
+Just run `writed` while you have a desktop notification daemon running.