notif-0.0.4 is not a library.
Visit the last successful build:
notif-0.0.3
I use this to route notifications from remote machines to the correct desktop.
A central instance notif --server
receives notifications and forwards them to the latest registered notifier.
A notifier is run on a desktop machine and shows the notifications.
notif --send
is used in place of a local notify-send
.
Example:
- remote machine A:
notif --server
- laptop1:
notif --notifier laptop1
- laptop2:
notif --notifier laptop2
- remote machine B:
notif --send normal "something noteworthy" "just happened"
Laptop2's notifier will receive & feed the notification to the desktop's notification manager and you'll see "@machineB: something noteworthy just happened".
On a desktop I use it like this: this ensures that the machine that has most recently unlocked X session will receive the notifications.
| while ; do
done
I use this with this kind of things:
I use it on a private VPN, notifications are sent in cleartext.