Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features to make my arch Linux installation script much more feasible #446

Open
olivertzeng opened this issue Nov 1, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@olivertzeng
Copy link

olivertzeng commented Nov 1, 2023

Is your feature request related to a problem? Please describe.
I'm currently trying to write a shell script to install Arch Linux using gum. But I've encountered some problems. For example I really want to make the user configure everything like how archinstall does before the installation begins. So...

Describe the solution you'd like

  1. Combine different gum elements to show on a same page, it's like how you complete your Google forms. For example a shell script that has a gum input element and two gum choose elements in one terminal page so that you can navigate with ncurses and choose which element you want to fill in first.
  2. Wrap gum elements into gum style
    For example running
gum style \
	--foreground 212 --border-foreground 212 --border double \
	--align center --width 50 --margin "1 2" --padding "2 4" \
	$(gum input)

But make the border wrap around the input prompt instead of printing what the user has input in inside the boarder.

  1. Currently trying to print a figlet ascii art with gum style but really hope that boarder can dynamically fit the terminal window size. Maybe a full screen option I guess?

  2. A good progress bar via harmonica

Describe alternatives you've considered
IDK writing these features myself?
Or maybe the feature already exists but I haven't noticed them yet.

@olivertzeng olivertzeng changed the title Features to make my arch Linux installation script much feasible Features to make my arch Linux installation script much more feasible Nov 1, 2023
@caarlos0 caarlos0 added the enhancement New feature or request label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants