Rename options in the recurrent-actions script
This commit is contained in:
parent
f51da4431d
commit
eaa014154c
|
@ -4,7 +4,7 @@ select_action() {
|
|||
action_content=(
|
||||
"System resources usage"
|
||||
"Connectivity test"
|
||||
"Sync Doom emacs"
|
||||
"Reload doom emacs"
|
||||
"Sync mail"
|
||||
)
|
||||
action=$(printf '%s\n' "${action_content[@]}" | rofi -no-auto-select -i "$@" -dmenu -p "Choose an action")
|
||||
|
@ -23,7 +23,7 @@ execute_action() {
|
|||
case "$1" in
|
||||
"System resources usage") launch_kitty "htop" ;;
|
||||
"Connectivity test") launch_kitty "ping -c 2 freebsd.org" ;;
|
||||
"Sync doom emacs") execute_command "$HOME/.emacs.d/bin/doom sync" ;;
|
||||
"Reload doom emacs") execute_command "$HOME/.emacs.d/bin/doom sync" ;;
|
||||
"Sync mail") execute_command "/home/coolnengs/.local/share/scripts/mail-sync -a" ;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue