Quellcode durchsuchen

Switch notification method

Samuel W. Flint vor 4 Jahren
Ursprung
Commit
f6a8bf539f
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      day

+ 2 - 2
day

@@ -45,11 +45,11 @@ if [ $1 == "start" ] ; then
     sync-dirs . School Projects
     sync-dirs . School Projects
     restart_i3
     restart_i3
     start_emacs
     start_emacs
-    send_notification "Starting Day" "On $(hostname -s)."
+    notify "Starting Day" "On $(hostname -s)."
 elif [ $1 == "end" ] ; then
 elif [ $1 == "end" ] ; then
     check_ssh
     check_ssh
     sync-dirs . School Projects
     sync-dirs . School Projects
-    send_notification "Ending Day" "On $(hostname -s)."
+    notify "Ending Day" "On $(hostname -s)."
 else
 else
     echo "$(basename $0) [ start | end ]" >&2
     echo "$(basename $0) [ start | end ]" >&2
     exit 1
     exit 1