Update README.md

This commit is contained in:
Imi 2021-04-21 08:53:23 +02:00 committed by GitHub
parent 3f4ff2dc36
commit c035dbb88b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1 +1,35 @@
# 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
```