The easiest way to set dark/light theme or switch between of those, with PowerShell
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Iminet 62788663b7 Bugfixes 7 months ago
DarkMode.ps1 Bugfixes 7 months ago
README.md Update README.md 2 years ago

README.md

DarkMode

The easiest way to set dark/light theme or switch between of those

Prerequisites:

  • Windows operating system
  • PowerShell 5.0 or later

License

Creative Commons (CC BY 4.0)

Usage:

DarkMode.ps1 [status|dark|light|toggle]
#(without the optional switches, the toggle command will be performed)

Examples

# Check status
PS S:\> .\DarkMode.ps1 status
Light theme

# Toggle (switch between light and dark)
PS S:\> .\DarkMode.ps1 toggle
# Or without arguments:
PS S:\> .\DarkMode.ps1

# Set dark theme
PS S:\> .\DarkMode.ps1 dark


# Set light theme
PS S:\> .\DarkMode.ps1 light