Add Restart Waybar to recurrent-actions
This commit is contained in:
parent
0905401dac
commit
b35d5d87fc
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue