Skip to content

Latest commit

 

History

History
61 lines (37 loc) · 1 KB

README.md

File metadata and controls

61 lines (37 loc) · 1 KB

toggleThemes.js

GitHub package.json version

Automate toggling between dark and light themes in VS Code editor and Hyper terminal via the command line.

Usage

Direct

node ~/path/to/toggleThemes.js light
node ~/path/to/toggleThemes.js dark

Alias

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

Themes

My preferred themes are hardcoded.

Hyper

VS Code

Contributing

Open a PR!

Author

Brian Zelip, https://zelip.me

License

GNU GPLv3