Add kill MS teams option to recurrent-actions
This commit is contained in:
parent
a3d56cd2b9
commit
82437c662d
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue