From 585a909401997230dbd4b69d3410485f1ed4eeaf Mon Sep 17 00:00:00 2001 From: Kevin McConnell Date: Thu, 2 Apr 2026 15:24:02 +0100 Subject: [PATCH 1/3] Add ONCE to Install->Service menu (#5186) --- bin/omarchy-install-once | 12 ++++++++++++ bin/omarchy-menu | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100755 bin/omarchy-install-once diff --git a/bin/omarchy-install-once b/bin/omarchy-install-once new file mode 100755 index 00000000..97d56752 --- /dev/null +++ b/bin/omarchy-install-once @@ -0,0 +1,12 @@ +#!/bin/bash + +# Install the ONCE service, enable its background service, and launch the TUI. + +echo "Installing ONCE..." +omarchy-pkg-add once-bin + +echo "Enabling ONCE background service..." +sudo systemctl enable --now once-background.service + +echo -e "\nLaunching ONCE..." +once diff --git a/bin/omarchy-menu b/bin/omarchy-menu index bbb56fa9..1d1fa76e 100755 --- a/bin/omarchy-menu +++ b/bin/omarchy-menu @@ -317,12 +317,13 @@ show_install_menu() { } show_install_service_menu() { - case $(menu "Install" " Dropbox\n Tailscale\n󱇱 NordVPN [AUR]\n󰟵 Bitwarden\n Chromium Account") in + case $(menu "Install" " Dropbox\n Tailscale\n󱇱 NordVPN [AUR]\n󰟵 Bitwarden\n Chromium Account\n󰏖 ONCE") in *Dropbox*) present_terminal omarchy-install-dropbox ;; *Tailscale*) present_terminal omarchy-install-tailscale ;; *NordVPN*) present_terminal omarchy-install-nordvpn ;; *Bitwarden*) install_and_launch "Bitwarden" "bitwarden bitwarden-cli" "bitwarden" ;; *Chromium*) present_terminal omarchy-install-chromium-google-account ;; + *ONCE*) present_terminal omarchy-install-once ;; *) show_install_menu ;; esac } From fde637ec21249318961414165b460cbf0724a9bb Mon Sep 17 00:00:00 2001 From: Rob Zolkos Date: Thu, 2 Apr 2026 10:37:51 -0400 Subject: [PATCH 2/3] Preserve package download progress during updates (#5188) --- bin/omarchy-update-perform | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/bin/omarchy-update-perform b/bin/omarchy-update-perform index 9c22adf2..8965c0c2 100755 --- a/bin/omarchy-update-perform +++ b/bin/omarchy-update-perform @@ -2,13 +2,16 @@ set -e +# Run the update inside a PTY so pacman/yay keep showing download progress +# while still logging the full session for later analysis. +if [[ -z $OMARCHY_UPDATE_LOGGED ]]; then + script_command=$(printf '%q ' "$0" "$@") + exec env OMARCHY_UPDATE_LOGGED=1 script -qefc "$script_command" "/tmp/omarchy-update.log" +fi + # Ensure screensaver/sleep doesn't set in during updates hyprctl dispatch tagwindow +noidle &>/dev/null || true -# Capture update logs (CLICOLOR_FORCE keeps gum styled when stdout is piped through tee) -export CLICOLOR_FORCE=1 -exec > >(tee "/tmp/omarchy-update.log") 2>&1 - # Perform all update steps omarchy-update-keyring omarchy-update-available-reset From fcf8baea8e45578bcd1450014fa7c9ba535da947 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 2 Apr 2026 16:41:20 +0200 Subject: [PATCH 3/3] Rearrange --- bin/omarchy-menu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/omarchy-menu b/bin/omarchy-menu index 1d1fa76e..53d2b4cf 100755 --- a/bin/omarchy-menu +++ b/bin/omarchy-menu @@ -317,13 +317,13 @@ show_install_menu() { } show_install_service_menu() { - case $(menu "Install" " Dropbox\n Tailscale\n󱇱 NordVPN [AUR]\n󰟵 Bitwarden\n Chromium Account\n󰏖 ONCE") in + case $(menu "Install" " Dropbox\n Tailscale\n󱇱 NordVPN [AUR]\n󰏖 ONCE\n󰟵 Bitwarden\n Chromium Account") in *Dropbox*) present_terminal omarchy-install-dropbox ;; *Tailscale*) present_terminal omarchy-install-tailscale ;; *NordVPN*) present_terminal omarchy-install-nordvpn ;; + *ONCE*) present_terminal omarchy-install-once ;; *Bitwarden*) install_and_launch "Bitwarden" "bitwarden bitwarden-cli" "bitwarden" ;; *Chromium*) present_terminal omarchy-install-chromium-google-account ;; - *ONCE*) present_terminal omarchy-install-once ;; *) show_install_menu ;; esac }