4 ms·
In iTerm 2, I have it set up to play a sound when certain commands finish, but it hadn't occurred to me that having hold music while the job is still processing
by jawns 6y ago
In iTerm 2, I have it set up to play a sound when certain commands finish, but it hadn't occurred to me that having hold music while the job is still processing could be useful.
Yet now that I think about it, there have been times when I've briefly stepped away from my desk and missed the notification sound. This utility would solve that problem!
- Siira 6y agoI use the idletime (among other factors) to decide the alarm's duration. getidle-darwin () { ioreg -c IOHIDSystem | awk '/HIDIdleTime/ {print $NF/1000000000; exit}' }