Two more commands for presentation
This commit is contained in:
parent
f33d004bc9
commit
f4ff108038
@ -193,7 +193,7 @@ show_install_ai_menu() {
|
|||||||
|
|
||||||
show_install_style_menu() {
|
show_install_style_menu() {
|
||||||
case $(menu "Install" " Theme\n Background\n Font") in
|
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 ;;
|
*Background*) nautilus ~/.config/omarchy/current/theme/backgrounds ;;
|
||||||
*Font*) show_install_font_menu ;;
|
*Font*) show_install_font_menu ;;
|
||||||
*) show_install_menu ;;
|
*) show_install_menu ;;
|
||||||
@ -226,7 +226,7 @@ show_update_menu() {
|
|||||||
*Omarchy*) present_terminal $OMARCHY_BIN_PATH/omarchy-update ;;
|
*Omarchy*) present_terminal $OMARCHY_BIN_PATH/omarchy-update ;;
|
||||||
*Config*) show_update_config_menu ;;
|
*Config*) show_update_config_menu ;;
|
||||||
*Process*) show_update_process_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 ;;
|
*Timezone*) $OMARCHY_BIN_PATH/omarchy-cmd-tzupdate ;;
|
||||||
*) show_main_menu ;;
|
*) show_main_menu ;;
|
||||||
esac
|
esac
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
# Usage: omarchy-theme-install <git-repo-url>
|
# Usage: omarchy-theme-install <git-repo-url>
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
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"
|
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="")
|
REPO_URL=$(gum input --placeholder="Git repo URL for theme" --header="")
|
||||||
else
|
else
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-show-logo
|
|
||||||
|
|
||||||
for dir in ~/.config/omarchy/themes/*/; do
|
for dir in ~/.config/omarchy/themes/*/; do
|
||||||
[ -d "$dir" ] && [ ! -L "${dir%/}" ] && echo "Updating: $(basename "$dir")" && git -C "$dir" pull
|
[ -d "$dir" ] && [ ! -L "${dir%/}" ] && echo "Updating: $(basename "$dir")" && git -C "$dir" pull
|
||||||
done
|
done
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-show-done
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user