jonls / redshift

Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night.
http://jonls.dk/redshift
GNU General Public License v3.0
5.91k stars 429 forks source link

Windows 7 - redshift.exe doesn't close #232

Open rybak opened 9 years ago

rybak commented 9 years ago

Tried running redshift.exe -l 10:10 both from cmd and using bat-file. It outputs

Using method `wingdi`

the color temperature changes visibly, but the window stays open.

I'm using version 1.9 on 32 bit Windows 7.

maandree commented 9 years ago

After reading on superuser.com, I think you can run start /b redshift.exe -l 10:10, this should but redshift as a background process and the terminal can be closed.

ghost commented 8 years ago

This is more a limitation of the windows command prompt. Here's an autohotkey script that will hide the console window, limit redshift to a single instance, and provide a tray icon with basic controls. Edit the ahk file to include your location and color temp settings near the top and run it in the same dir as the redshift windows binary. You can also compile the script with the included ico file for a nicer tray icon. It isn't much compared to RedshiftGUI, but considering the lack of a windows release, it's better than nothing.