I use this to route notifications from remote machines to the current desktop I'm using.
A central instance notif route receives notifications and forwards them to the latest registered notifier.
A notifier is run with notif notify on a desktop machine and shows the notifications.
notif send is used in place of a local notify-send.
Example:
- remote machine A:
notif route - laptop1:
notif notify - laptop2:
notif notify - remote machine B:
notif send -u critical "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".
For this magic to happen notif looks for a config file in ~/.notif, /etc/notif, or as an argument notif -c <file>: localhost example.
Notif can generate config files for multiple hosts: for 5 clients & a server with curve certificates for each:
On a desktop I use notif notify with this script: 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: