diff --git a/scripts/.local/share/scripts/recurrent-actions b/scripts/.local/share/scripts/recurrent-actions index de62110..41e308e 100755 --- a/scripts/.local/share/scripts/recurrent-actions +++ b/scripts/.local/share/scripts/recurrent-actions @@ -5,6 +5,7 @@ select_action() { "System resources usage" "Connectivity test" "Kill emacs" + "Kill MS Teams" "Sync doom emacs" "Start videocall" "Stop videocall" @@ -24,13 +25,14 @@ execute_command() { execute_action() { case "$1" in - "System resources usage") launch_kitty "htop" ;; - "Connectivity test") launch_kitty "ping -c 2 freebsd.org" ;; - "Kill emacs") execute_command "pkill emacs" ;; - "Sync doom emacs") execute_command "$HOME/.emacs.d/bin/doom sync" ;; - "Start videocall") execute_command "$script_folder/pulseaudio-mic-mute" && execute_command "$script_folder/videocall start" ;; - "Stop videocall") execute_command "$script_folder/pulseaudio-mic-mute" && execute_command "$script_folder/videocall stop" ;; - "Sync mail") execute_command "mbsync -a" && execute_command "notmuch new" ;; + "System resources usage") launch_kitty "htop" ;; + "Connectivity test") launch_kitty "ping -c 2 freebsd.org" ;; + "Kill emacs") execute_command "pkill emacs" ;; + "Kill MS Teams") execute_command "pkill teams" ;; + "Sync doom emacs") execute_command "$HOME/.emacs.d/bin/doom sync" ;; + "Start videocall") execute_command "$script_folder/pulseaudio-mic-mute" && execute_command "$script_folder/videocall start" ;; + "Stop videocall") execute_command "$script_folder/pulseaudio-mic-mute" && execute_command "$script_folder/videocall stop" ;; + "Sync mail") execute_command "mbsync -a" && execute_command "notmuch new" ;; esac }