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

Allow the theme to change automatically with a command #40

Open
kvnloo opened this issue Sep 25, 2018 · 0 comments
Open

Allow the theme to change automatically with a command #40

kvnloo opened this issue Sep 25, 2018 · 0 comments

Comments

@kvnloo
Copy link

kvnloo commented Sep 25, 2018

It would be really cool if the theme could be changed dynamically rather than going into the configuration file and changing the pokemon tag.

The following would be examples of what I mean:

pokemon charizard --unibody false --poketab true

or

pokemon ['charizard', 'articuno', 'pikachu'] --unibody false --poketab true

Describe the solution you'd like
A possible solution would be to have the hyper.js file source from another theme.js file and the command would change the contents of the theme.js file.

The theme.js file could just have the following:

config {
    pokemon: ['articuno', 'zapdos', 'moltres', 'mewtwo', 'mew'],
    unibody: 'false',
    poketab: 'false'
}

Then this file could be sourced from the default hyper configuration file.

I think that this would be a really cool feature and would allow the user to change the theme on the fly.

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

No branches or pull requests

1 participant