Two more commands for presentation

This commit is contained in:
David Heinemeier Hansson 2025-08-08 15:12:26 +02:00
parent f33d004bc9
commit f4ff108038
3 changed files with 2 additions and 7 deletions

View File

@ -193,7 +193,7 @@ show_install_ai_menu() {
show_install_style_menu() {
case $(menu "Install" "󰸌 Theme\n Background\n Font") in
*Theme*) terminal $OMARCHY_BIN_PATH/omarchy-theme-install ;;
*Theme*) present_terminal $OMARCHY_BIN_PATH/omarchy-theme-install ;;
*Background*) nautilus ~/.config/omarchy/current/theme/backgrounds ;;
*Font*) show_install_font_menu ;;
*) show_install_menu ;;
@ -226,7 +226,7 @@ show_update_menu() {
*Omarchy*) present_terminal $OMARCHY_BIN_PATH/omarchy-update ;;
*Config*) show_update_config_menu ;;
*Process*) show_update_process_menu ;;
*Themes*) terminal $OMARCHY_BIN_PATH/omarchy-theme-update ;;
*Themes*) present_terminal $OMARCHY_BIN_PATH/omarchy-theme-update ;;
*Timezone*) $OMARCHY_BIN_PATH/omarchy-cmd-tzupdate ;;
*) show_main_menu ;;
esac

View File

@ -4,7 +4,6 @@
# Usage: omarchy-theme-install <git-repo-url>
if [ -z "$1" ]; then
~/.local/share/omarchy/bin/omarchy-show-logo
echo -e "\e[32mSee https://manuals.omamix.org/2/the-omarchy-manual/90/extra-themes\n\e[0m"
REPO_URL=$(gum input --placeholder="Git repo URL for theme" --header="")
else

View File

@ -1,9 +1,5 @@
#!/bin/bash
~/.local/share/omarchy/bin/omarchy-show-logo
for dir in ~/.config/omarchy/themes/*/; do
[ -d "$dir" ] && [ ! -L "${dir%/}" ] && echo "Updating: $(basename "$dir")" && git -C "$dir" pull
done
~/.local/share/omarchy/bin/omarchy-show-done