Skip to content

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

License

Notifications You must be signed in to change notification settings

brianzelip/toggle-themes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks