diff --git a/README.md b/README.md new file mode 100644 index 0000000..24a1e6f --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +# Windows 10 - Theme Changer + +## Description +These are a simple set of scripts written in PowerShell (and then converted to executables) which let you change your Windows 10 system theme without needing to open any app for this. + +## Installation +1. Grab the latest release ZIP from the [GitHub Releases](https://github.com/pratyakshm/Win10-Theme/releases) page. +2. Extract the ZIP file and run Install.exe. + +## Usage +Open your Run dialog box (done by pressing Win key + R) +To switch to: + **dark theme**, write ``dark`` and press ``Enter``. + **light theme**, write ``light`` and press ``Enter``. + +## Why this project? +It is too tedious for me to switch themes in Windows 10, so I made this simple project to achieve that. + +## Contributors +- [PS2-EXE GUI](https://gallery.technet.microsoft.com/scriptcenter/PS2EXE-GUI-Convert-e7cb69d5) diff --git a/dark.ps1 b/dark.ps1 new file mode 100644 index 0000000..50b2b3f --- /dev/null +++ b/dark.ps1 @@ -0,0 +1,3 @@ +$Theme = "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" +Set-ItemProperty $Theme AppsUseLightTheme -Value 0 +Set-ItemProperty $Theme SystemUsesLightTheme -Value 0 \ No newline at end of file diff --git a/light.ps1 b/light.ps1 new file mode 100644 index 0000000..bc7272b --- /dev/null +++ b/light.ps1 @@ -0,0 +1,3 @@ +$Theme = "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" +Set-ItemProperty $Theme AppsUseLightTheme -Value 1 +Set-ItemProperty $Theme SystemUsesLightTheme -Value 1 \ No newline at end of file