The easiest way to set dark/light theme or switch between of those, with PowerShell
Go to file
2022-10-29 17:13:11 +02:00
DarkMode.ps1 Bugfixes 2022-10-29 17:13:11 +02:00
README.md Update README.md 2021-04-21 08:54:46 +02:00

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