From 14b336eb507c69706aacc55e872824b4fcf8acaa Mon Sep 17 00:00:00 2001 From: lamp Date: Sun, 5 Mar 2023 21:41:49 +0000 Subject: init --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 README.md (limited to 'README.md') 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. -- cgit v1.2.3