Run script after sleeping

You need to quote $1 as "$1" and are missing exit 0 at the very end of the script.

Also a good idea to provide PATH= so that the script can find amixer and cvlc.

See other examples in that dir.

1 Like