updated procup to output the name of the script to notify-send
authorMatthew Owens <matthew@owens.tech>
Wed, 5 Aug 2020 11:57:02 +0000 (12:57 +0100)
committerMatthew Owens <matthew@owens.tech>
Wed, 5 Aug 2020 11:57:02 +0000 (12:57 +0100)
procup

diff --git a/procup b/procup
index 17bfc19..727f42e 100755 (executable)
--- a/procup
+++ b/procup
@@ -7,6 +7,6 @@ procs="dunst dwmbar sxhkd"
 for proc in $procs; do
        if [[ $(pgrep $proc) -eq "" ]]; then
                $proc &
-               notify-send cron "$proc restarted"
+               notify-send procup "$proc restarted"
        fi
 done