Remove kill emacs from recurrent-actions

This commit is contained in:
coolneng 2022-05-02 04:30:55 +02:00
parent 8c3cf4b4c9
commit 058a8be80b
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 1 additions and 3 deletions

View File

@ -4,8 +4,7 @@ select_action() {
action_content=( action_content=(
"System resources usage" "System resources usage"
"Connectivity test" "Connectivity test"
"Kill emacs" "Sync Doom emacs"
"Sync doom emacs"
"Start videocall" "Start videocall"
"Stop videocall" "Stop videocall"
"Sync mail" "Sync mail"
@ -26,7 +25,6 @@ execute_action() {
case "$1" in case "$1" in
"System resources usage") launch_kitty "htop" ;; "System resources usage") launch_kitty "htop" ;;
"Connectivity test") launch_kitty "ping -c 2 freebsd.org" ;; "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" ;; "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" ;;