Automate toggling between dark and light themes in VS Code editor and Hyper terminal via the command line.
node ~/path/to/toggleThemes.js light
node ~/path/to/toggleThemes.js dark
Add aliases in your shell config (.bashrc, .zshrc, etc.):
alias dark='node ~/path/to/toggleThemes.js dark'
alias light='node ~/path/to/toggleThemes.js light'
Then in a new shell session run:
light
dark
My preferred themes are hardcoded.
Open a PR!
Brian Zelip, https://zelip.me
GNU GPLv3