Skip to content

feat: support no-prompt setup#195

Open
fragoulis wants to merge 1 commit intoadi1090x:masterfrom
fragoulis:feat-no-prompt-setup
Open

feat: support no-prompt setup#195
fragoulis wants to merge 1 commit intoadi1090x:masterfrom
fragoulis:feat-no-prompt-setup

Conversation

@fragoulis
Copy link

Allow for polybar themes to be installed as part of an automated process.

With this commit, the user can pass the style by setting the env var STYLE when calling setup, in which case the prompt does not show.

Examples:

# works
STYLE=simple ./setup.sh
# fails
STYLE=foo ./setup.sh
# prompts
STYLE= ./setup.sh
# prompts
./setup.sh

Allow for polybar themes to be installed as part of an automated
process.

With this commit, the user can pass the style by setting the
env var `STYLE` when calling setup, in which case the prompt does
not show.
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.

1 participant