From 57443e74ad860f950c90b3a373ad1f4227198c39 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 4 Aug 2025 20:26:33 +0200 Subject: [PATCH] Show logo now that we are coming from the new menu --- bin/omarchy-font-menu | 4 +--- bin/omarchy-setup-docker-dbs | 4 +--- bin/omarchy-setup-dropbox | 2 ++ bin/omarchy-setup-fido2 | 2 ++ bin/omarchy-setup-fingerprint | 2 ++ bin/omarchy-setup-steam | 2 ++ bin/omarchy-show-logo | 5 +++++ bin/omarchy-theme-update | 4 +--- 8 files changed, 16 insertions(+), 9 deletions(-) create mode 100755 bin/omarchy-show-logo diff --git a/bin/omarchy-font-menu b/bin/omarchy-font-menu index e2ac46b6..7eaa9147 100755 --- a/bin/omarchy-font-menu +++ b/bin/omarchy-font-menu @@ -1,8 +1,6 @@ #!/bin/bash -# Show logo -clear -cat <~/.local/share/omarchy/logo.txt +~/.local/share/omarchy/bin/omarchy-show-logo font=$( fc-list :spacing=100 -f "%{family[0]}\n" | diff --git a/bin/omarchy-setup-docker-dbs b/bin/omarchy-setup-docker-dbs index 584f1624..236819ca 100755 --- a/bin/omarchy-setup-docker-dbs +++ b/bin/omarchy-setup-docker-dbs @@ -1,8 +1,6 @@ #!/bin/bash -# Show logo -clear -cat <~/.local/share/omarchy/logo.txt +~/.local/share/omarchy/bin/omarchy-show-logo options=("MariaDB" "MySQL" "Redis" "PostgreSQL") choices=$(printf "%s\n" "${options[@]}" | gum choose --no-limit --header "Select databases (space to select, return to install, esc to cancel)") || main_menu diff --git a/bin/omarchy-setup-dropbox b/bin/omarchy-setup-dropbox index 90ec37c2..70242dc3 100755 --- a/bin/omarchy-setup-dropbox +++ b/bin/omarchy-setup-dropbox @@ -1,5 +1,7 @@ #!/bin/bash +~/.local/share/omarchy/bin/omarchy-show-logo + echo "Installing all dependencies..." yay -S --noconfirm --needed \ dropbox dropbox-cli libappindicator-gtk3 python-gpgme nautilus-dropbox diff --git a/bin/omarchy-setup-fido2 b/bin/omarchy-setup-fido2 index 75b404b5..b499ee57 100755 --- a/bin/omarchy-setup-fido2 +++ b/bin/omarchy-setup-fido2 @@ -1,5 +1,7 @@ #!/bin/bash +~/.local/share/omarchy/bin/omarchy-show-logo + if [[ "--remove" == "$1" ]]; then yay -Rns --noconfirm libfido2 pam-u2f sudo rm -rf /etc/fido2 diff --git a/bin/omarchy-setup-fingerprint b/bin/omarchy-setup-fingerprint index 2ba0b605..123fb050 100755 --- a/bin/omarchy-setup-fingerprint +++ b/bin/omarchy-setup-fingerprint @@ -1,5 +1,7 @@ #!/bin/bash +~/.local/share/omarchy/bin/omarchy-show-logo + if [[ "--remove" == "$1" ]]; then yay -Rns --noconfirm fprintd sudo rm -rf /etc/pam.d/polkit-1 diff --git a/bin/omarchy-setup-steam b/bin/omarchy-setup-steam index ae4051c2..604af7e3 100755 --- a/bin/omarchy-setup-steam +++ b/bin/omarchy-setup-steam @@ -1,5 +1,7 @@ #!/bin/bash +~/.local/share/omarchy/bin/omarchy-show-logo + echo "Adding multilib repository for 32-bit compatibility" sudo sed -i '/^\s*#\[multilib\]/,/^$/{s/^\s*#//}' /etc/pacman.conf sudo pacman -Sy diff --git a/bin/omarchy-show-logo b/bin/omarchy-show-logo new file mode 100755 index 00000000..681f0a1a --- /dev/null +++ b/bin/omarchy-show-logo @@ -0,0 +1,5 @@ +#!/bin/bash + +clear +cat <~/.local/share/omarchy/logo.txt +echo diff --git a/bin/omarchy-theme-update b/bin/omarchy-theme-update index 32142aa5..f6fd78fd 100755 --- a/bin/omarchy-theme-update +++ b/bin/omarchy-theme-update @@ -1,8 +1,6 @@ #!/bin/bash -# Show logo -clear -cat <~/.local/share/omarchy/logo.txt +~/.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