diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
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. |