diff --git a/scripts/.local/share/scripts/recurrent-actions b/scripts/.local/share/scripts/recurrent-actions index c02783b..1585917 100755 --- a/scripts/.local/share/scripts/recurrent-actions +++ b/scripts/.local/share/scripts/recurrent-actions @@ -6,6 +6,7 @@ select_action() { "Connectivity test" "Reload doom emacs" "Sync mail" + "Restart Waybar" ) action=$(printf '%s\n' "${action_content[@]}" | rofi -no-auto-select -i "$@" -dmenu -p "Choose an action") execute_action "$action" @@ -24,7 +25,8 @@ execute_action() { "System resources usage") launch_kitty "htop" ;; "Connectivity test") launch_kitty "ping -c 2 freebsd.org" ;; "Reload doom emacs") execute_command "$HOME/.emacs.d/bin/doom sync" ;; - "Sync mail") execute_command "/home/coolnengs/.local/share/scripts/mail-sync -a" ;; + "Sync mail") execute_command "/home/coolneng/.local/share/scripts/mail-sync -a" ;; + "Restart Waybar") execute_command "pkill waybar; waybar &" ;; esac }