darkrc/bin/wake-me-up

8 lines
118 B
Text
Raw Permalink Normal View History

#!/bin/sh
start=$(date +%s)
$@
if [ $(($(date +%s) - $start)) -gt 0 ]
then notify-send "Command finished:" "$*"
fi