Add kill zoom option to recurrent-actions

This commit is contained in:
coolneng 2021-10-29 17:02:01 +02:00
parent bb50ffa1c0
commit c08017fa97
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ select_action() {
"Connectivity test" "Connectivity test"
"Kill emacs" "Kill emacs"
"Kill MS Teams" "Kill MS Teams"
"Kill zoom"
"Sync doom emacs" "Sync doom emacs"
"Start videocall" "Start videocall"
"Stop videocall" "Stop videocall"
@ -29,6 +30,7 @@ execute_action() {
"Connectivity test") launch_kitty "ping -c 2 freebsd.org" ;; "Connectivity test") launch_kitty "ping -c 2 freebsd.org" ;;
"Kill emacs") execute_command "pkill emacs" ;; "Kill emacs") execute_command "pkill emacs" ;;
"Kill MS Teams") execute_command "pkill teams" ;; "Kill MS Teams") execute_command "pkill teams" ;;
"Kill zoom") execute_command "pkill zoom" ;;
"Sync doom emacs") execute_command "$HOME/.emacs.d/bin/doom sync" ;; "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" ;; "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" ;; "Stop videocall") execute_command "$script_folder/pulseaudio-mic-mute" && execute_command "$script_folder/videocall stop" ;;