Re:Ntfy: A utility for sending notifications
by hossbeast on Saturday August 27, 2016 @12:50AM
(#12371054)
I was hoping to see a framework for getting notifications in the shell, like in the screen / tmux status bar.
[ Parent
| on HN ]
Re:Ntfy: A utility for sending notifications
by dapithor on Sunday August 28, 2016 @10:40PM
(#12379648)
You can already do this with `write` which is in most linux distro's. Make sure `mesg` is set to y then test with `echo "hello" | write <username>`. `Wall` messages all logged in users and I wouldn't recommend that approach.
Re:Ntfy: A utility for sending notifications
by snehesht on Saturday August 27, 2016 @01:27AM
(#12371144)
You could try a script that receives notifications and then prints them inside the status bar.
Tmux has refresh interval so you could easily setup a script that prints the notification for a while and then clears it.
set -g status-right "#[fg=colour010]#(/path/to/your/script)#[fg=colour255]"