Last active
August 29, 2020 15:06
-
-
Save dowodenum/2bfc9865a57c82fe45aad8ca5561382c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create redshift.bat in the same folder as redshift, edited with location. Note -m wingdi, necessary for Windows (over randr) | |
redshift.bat contents: | |
.\redshift.exe -m wingdi -l LAT:LON | |
create redshift.vbs in the same folder as redshift.bat, this will make it run invisibly. | |
redshift.vbs contents: | |
Set WshShell = CreateObject("WScript.Shell") | |
WshShell.Run chr(34) & ".\redshift.bat" & Chr(34), 0 | |
Set WshShell = Nothing | |
create a shortcut to this .vbs file and put it in Startup folder: | |
%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\redshift.vbs - Shortcut.lnk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment