From 915ca613df3e7c28053c43d425ff70465df40ac5 Mon Sep 17 00:00:00 2001 From: Neil Brommer Date: Tue, 1 May 2018 17:53:22 -0700 Subject: [PATCH] Add installation and usage to README --- README.md | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b50214f..ac4b2e4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,21 @@ -# WindowsAutoDark -A program that sets/toggles the Windows 10 dark theme +# Windows Auto Dark +A program that sets/toggles the Windows 10 dark theme. This can be done with +PowerShell, but it causes a window to show for a second. Running this program +won't show a window at all. This makes it particularly useful for changing the +theme automatically. + +## Installation +Compile the program or download the executable from the Github releases page. +Place the executable anywhere that users can access it. + +## Running +If the program is run without any arguments, then it will toggle the dark theme +setting. You can pass in one of two arguments: `light` or `dark`. Only the +first argument will be read in, all others will be ignored. + +## Scheduling +Use Windows Task Scheduler to run this automatically. +[This article](https://www.windowscentral.com/how-automatically-switch-dark-mode-night-time-windows-10) +has detailed instructions on how to do so. Just use the path to this program's +executable in place of the path to PowerShell and `light` or `dark` in place of +the PowerShell arguments.