From eaa014154cdaa3d7519428894ebad32679f8f6c8 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 11 May 2022 11:23:45 +0200 Subject: [PATCH] Rename options in the recurrent-actions script --- scripts/.local/share/scripts/recurrent-actions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/.local/share/scripts/recurrent-actions b/scripts/.local/share/scripts/recurrent-actions index 8ca1679..c02783b 100755 --- a/scripts/.local/share/scripts/recurrent-actions +++ b/scripts/.local/share/scripts/recurrent-actions @@ -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 }