Automate toggling between dark and light themes in VS Code editor and Hyper terminal via the command line.
node ~/path/to/toggleThemes.js lightnode ~/path/to/toggleThemes.js darkAdd 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:
lightdarkMy preferred themes are hardcoded.
Open a PR!
Brian Zelip, https://zelip.me
GNU GPLv3