Skip to content

Conversation

@qollin
Copy link

@qollin qollin commented Nov 2, 2025

I my opinion it should be possible to run omarchy-update without the interactive reminder at the start. To that end I added the command-line option "-y" (for "yes") for non-interactive mode which skips the initial gum dialog. This is implemented using the getopts utility.

@dhh
Copy link
Member

dhh commented Nov 2, 2025

Curious: When are you running this non-interactively? Not against a flag, but we don't need all this code to do it. Can just do $1 == "-y".

@qollin
Copy link
Author

qollin commented Nov 2, 2025

On vanilla Arch I ran "yay" every day after login. On Omarchy I run omarchy-update (via an "ou" alias). And having to manually choose "yes" every time is tedious ;-)

And yeah, the solution is a bit over engineered. I wanted to do it properly and set the groundwork for future flags... But I'm happy to change it to a simple "$1" == "-y"....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants