Skip to content

Automatically switch color scheme based on time of day? #19134

Discussion options

You must be logged in to vote

🌗 Auto-Switch Windows Terminal Theme by Time

Yes! You can automatically switch Windows Terminal color schemes based on time using a simple PowerShell script + Task Scheduler.

✅ Steps:

  1. Create a PowerShell script to edit settings.json and change the colorScheme.
  2. Use Task Scheduler to run:
    • ☀️ Light theme script at 7 AM
    • 🌙 Dark theme script at 7 PM

⚠️ There's no built-in feature yet, but this method works perfectly!

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@lhecker
Comment options

@MatteoMgr2008
Comment options

@MatteoMgr2008
Comment options

@lhecker
Comment options

@MatteoMgr2008
Comment options

Answer selected by MatteoMgr2008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants