Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance 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

AltStyle によって変換されたページ (->オリジナル) /