Repository navigation
Conversation
omarchy-channel-set handed off with omarchy-update -y, which sets OMARCHY_UPDATE_UNATTENDED and skips confirm_reboot. The channel switch already ran in a human-watched terminal, so skip only the opening "Ready to update?" prompt. Closes omacom#13416
Automated duplicate check
Same issue as another open PR: this PR and #13544 both say they fix #13416, with different changes. The review of #13544 (comment) compares the two. This PR was not reviewed separately. Opt out: To stop receiving these reviews, reply to this comment saying so. |
|
Thanks for the duplicate check. #13544 covers the same #13416 fix and adds the sequence/channel tests this PR does not. Flag name differs ( Happy to close this in favor of #13544 if maintainers prefer the tested version. Leaving it open until then so the issue is not left with only one approach. |
|
One thing I noticed with this when the switch is going back to stable: # v4.0.4 bin/omarchy-update
[[ ${1:-} != "-y" ]] || export OMARCHY_UPDATE_UNATTENDED=1
if [[ ${1:-} == "-y" ]] || omarchy-update-confirm; thenSo on edge → stable, update_flag=-y
grep -q -- '--skip-confirm' "$OMARCHY_PATH/bin/omarchy-update" && update_flag=--skip-confirm
OMARCHY_UPDATE_USER_PATH="$user_path" "$OMARCHY_PATH/bin/omarchy-update" "$update_flag"Also, #13544 (same fix for #13416) now conflicts with |
|
Thanks — the destination-script point is right. I am not going to land the The "say no after pacman already switched" window is real on that path; it is also what happens today if someone declines the destination update. Once stable's Also noted that #13544 now conflicts with |
Summary
omarchy-channel-setfinished withomarchy-update -y, which setsOMARCHY_UPDATE_UNATTENDED=1. That skipsconfirm_reboot, so a human-watched channel switch never offers Reboot now / Later even when the kernel or Hyprland changed.--skip-confirmskips only the opening "Ready to update?" prompt.-ystill means fully unattended.Closes #13416
Test plan
omarchy-channel-setnow callsomarchy-update --skip-confirm-ystill exportsOMARCHY_UPDATE_UNATTENDED--skip-confirmdoes not