3 ms·
I feel like notifications would be the only thing on that list I could see myself using. I know you can make the terminal make a noise, but I sometimes prefer v
by Nightshaxx 6y ago
I feel like notifications would be the only thing on that list I could see myself using. I know you can make the terminal make a noise, but I sometimes prefer visual alerts.
- qz2 6y ago./dosomething && mail user -s job done
- MayeulC 6y agoEdit: I read the article, this is covered a bit. On Linux you can use `notify-send "title" "content"`. The only limitation it has is that you can't query the notification id to update or selectively dismiss it later. Also, many terminals will have a visual alert instead/together with a sound: konsole does this, for instance.
- bayindirh 6y agoMany Linux terminals can monitor for activity/silence/bell/process exit. Using these facilities, notifications can be done without modifying the script.
- kps 6y agoI use a shell script to flash the terminal background using OSC 11 — green or red depending on the last exit status.