Skip to content

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

Notifications You must be signed in to change notification settings

iminet/DarkMode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks