From ebaf5055ef763d37890f2191a786adf79c58cf6a Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Mon, 4 Mar 2024 21:15:42 -0500 Subject: [PATCH] ADD restart options --- bin/emacs_ctl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/emacs_ctl b/bin/emacs_ctl index b2ab6de..1c34d59 100755 --- a/bin/emacs_ctl +++ b/bin/emacs_ctl @@ -42,6 +42,10 @@ elif [[ "$1" == "stop" ]]; then stop_daemon elif [[ "$1" == "kill" ]]; then kill_daemon +elif [[ "$1" == "restart" ]]; then + restart_daemon & +elif [[ "$1" == "hard_restart" ]]; then + hard_restart_daemon & elif [[ "$1" == "theme" ]]; then if [[ "$2" == "toggle" ]]; then # if no state file assume light theme