瀏覽代碼

Switch notification method

Samuel W. Flint 4 年之前
父節點
當前提交
f6a8bf539f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      day

+ 2 - 2
day

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