-
Notifications
You must be signed in to change notification settings - Fork 596
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
Argument to select theme #222
Comments
Alternatively/additionally to select by name(s). This is really useful for people who want to set up their environment/workspace non-interactively. |
I would assume something like: if [[ ! $1 -eq "" ]]
then
# check $1 is valid
# apply theme
fi Would be a good start. You would then need to make sure it's within the number range to ensure the data is valid 🙃 |
I think a temporary workaround is number=1
echo $number | bash -c "$(wget -qO- https://git.io/vQgMr)" |
@Mayccoll , would some light refactoring be welcome in a PR for this? Basically, in order to build a list of scripts, I need to separate out |
Argument to select theme by number is useless for scripting because as new themes are added numbers will change and scripts will get broken. Themes must be chosen by name. It is not necessary to make any changes in code because this functionality is already there. I would only add to readme section about how to install in non interactive mode:
This would have saved me a couple of hours. |
I have created a pull request to fix this issue: #245 |
I have a personal script 2021-11-12-01-43-25.mov |
Looks good! Link? |
Hi,
could you please add an argument to select the theme automatically?
This would be useful for people, who want to set up their systems via a script.
It could be something like
bash -c "$(wget -qO- https://git.io/vQgMr) [number]"
The text was updated successfully, but these errors were encountered: