altdesktop / i3-style

🎨 Make your i3 config a little more stylish.
https://crates.io/crates/i3-style
Other
676 stars 30 forks source link

Easy theme switcher #30

Open ghost opened 8 years ago

ghost commented 8 years ago

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 commented 5 years ago

@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>"))])