ADD restart options

This commit is contained in:
Nathan Dwarshuis 2024-03-04 21:15:42 -05:00
parent b04ba759c9
commit ebaf5055ef
1 changed files with 4 additions and 0 deletions

View File

@ -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