Add update/restart process menu
This commit is contained in:
parent
567b05c489
commit
4f1a87c7e3
@ -222,15 +222,27 @@ show_remove_menu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_update_menu() {
|
show_update_menu() {
|
||||||
case $(menu "Update" " Omarchy\n Configs\n Themes\n Timezone") in
|
case $(menu "Update" " Omarchy\n Config\n Process\n Themes\n Timezone") in
|
||||||
*Omarchy*) terminal $OMARCHY_BIN_PATH/omarchy-update ;;
|
*Omarchy*) present_terminal $OMARCHY_BIN_PATH/omarchy-update ;;
|
||||||
*Configs*) show_update_configs_menu ;;
|
*Config*) show_update_config_menu ;;
|
||||||
|
*Process*) show_update_process_menu ;;
|
||||||
*Themes*) terminal $OMARCHY_BIN_PATH/omarchy-theme-update ;;
|
*Themes*) terminal $OMARCHY_BIN_PATH/omarchy-theme-update ;;
|
||||||
*Timezone*) $OMARCHY_BIN_PATH/omarchy-cmd-tzupdate ;;
|
*Timezone*) $OMARCHY_BIN_PATH/omarchy-cmd-tzupdate ;;
|
||||||
*) show_main_menu ;;
|
*) show_main_menu ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
show_update_process_menu() {
|
||||||
|
case $(menu "Restart" " Hypridle\n Hyprsunset\n Swayosd\n Walker\n Waybar") in
|
||||||
|
*Hypridle*) $OMARCHY_BIN_PATH/omarchy-restart-hypridle ;;
|
||||||
|
*Hyprsunset*) $OMARCHY_BIN_PATH/omarchy-restart-hyprsunset ;;
|
||||||
|
*Swayosd*) $OMARCHY_BIN_PATH/omarchy-restart-swayosd ;;
|
||||||
|
*Walker*) $OMARCHY_BIN_PATH/omarchy-restart-walker ;;
|
||||||
|
*Waybar*) $OMARCHY_BIN_PATH/omarchy-restart-waybar ;;
|
||||||
|
*) show_main_menu ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
show_update_configs_menu() {
|
show_update_configs_menu() {
|
||||||
case $(menu "Use default config" " Hyprland\n Hypridle\n Hyprlock\n Hyprsunset\n Plymouth\n Swayosd\n Walker\n Waybar") in
|
case $(menu "Use default config" " Hyprland\n Hypridle\n Hyprlock\n Hyprsunset\n Plymouth\n Swayosd\n Walker\n Waybar") in
|
||||||
*Hyprland*) present_terminal $OMARCHY_BIN_PATH/omarchy-refresh-hyprland ;;
|
*Hyprland*) present_terminal $OMARCHY_BIN_PATH/omarchy-refresh-hyprland ;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user