6 ms·
Quite similar to what I wrote a few days ago to remind me when my water should be boiling. Decided to use swaynag(1) since my sound could be on mute or speakers
by hyperpl 3y ago
Quite similar to what I wrote a few days ago to remind me when my water should be boiling. Decided to use swaynag(1) since my sound could be on mute or speakers off:
#!/bin/bash
[ "$#" -ne 2 ] && echo "Usage: nag when msg\n" && exit -1
when=$1; shift
sleep $when; swaynag -m "$@"