darkrc/bin/wake-me-up

8 lines
118 B
Bash
Executable File

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