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

Easy theme switcher #30

Open
ghost opened this issue Jul 11, 2016 · 1 comment
Open

Easy theme switcher #30

ghost opened this issue Jul 11, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 11, 2016

https://gist.github.com/awkwardtechdude/f75efaa072d88f619ba78a950c03f3ce

I've made a script that may be useful to include with the application.

By default it uses .i3/config as the output file, this is hardcoded.

@ozym4nd145
Copy link

@awkwardtechdude
Thanks for the script!
A small suggestion could be wrap the last 3 lines in a while loop for easy experimentation.
Something like this:

while True:
  for k in styles:
   print(str(styles.index(k)) + ": " + str(gen_char(" ", (3-len(str(styles.index(k)))) )) + k)
  enable_style(styles[int(input("\nChoice?\n>"))])

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