JaKooLit / Fedora-Hyprland

For automated installation of Hyprland on Fedora 38, 39 & 40 or any Fedora based distros
GNU General Public License v3.0
833 stars 65 forks source link

[Feature Request]: Add arguments to install script to bypass prompts #80

Closed Coelhomatias closed 2 months ago

Coelhomatias commented 4 months ago

Feature Request

Description

It would be awesome if the script accepted arguments so that the options could be selected without going through the prompts. This would be beneficial when using with ansible for example.

JaKooLit commented 4 months ago

but that one of the feature, so users can choose what they want to install....

but Ill see if I can use the preset.sh that was on my Arch-Hyprland project

Coelhomatias commented 4 months ago

I don't think you understood me right. I was suggesting something along the lines of running the script with optional arguments, however, whichever option is not answered by the arguments, the user should be prompt. So if running the script with maybe instal.sh --nvidia --bluetooth would assume yes for the nvidia and bluetooth questions but still prompt the user about the remaining questions.

JaKooLit commented 4 months ago

oh gotcha.. its a good idea.

bmentink commented 2 months ago

I would do it the other way around. Assume "Yes" and only pass parameters for the "no"

By the way, is this script v2 or v3? If v2, how to upgrade to v3? Thanks.

JaKooLit commented 2 months ago

no plan.. I dont have time