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.82k stars 424 forks source link

clarify documentation/configuration/sample to configure times better? #869

Open dchmelik opened 1 year ago

dchmelik commented 1 year ago

Is your feature request related to a problem? Please describe. User preferences should be able to completely override/replace location (and all natural time intervals as if nonexistent). One philosopher said a 'solar civilization' calendar would be based on overall solar time (though don't recall this in detail) so presumably average arise 4AM, sleep 8PM (even if not always real dawn & dusk)... but typical POSIX-based OS colour shifting programs for nighttime use location and few/no separate settings.

Describe the solution you'd like Please just let users set their own schedules (at least to full extent of KDE/Plasma night colour control program you link, which also lets you set duration from instant to several/many (though unfortunately limited) hours to complete colour shift). Thanks for allowing users set dawn & dusk, but I set 5:00-11:00, 20:15-12:30 (fake/daylight_saving but system time) and it said invalid (with no explanation nor documentation of 'valid' and why forced) but I want to use anyway (summary above; detail below).          Maximum screen brightness & dullness & standard gamma should be mentioned, all which I think are different than redshift.conf (I think X/KDE starts at 6500, gamma 1, which I forgot what means but maybe should shift or I keep standard).

Describe alternatives you've considered Xflux (used to use, too old), X/KDE Plasma night colour control (but KDE is slow/halts for large worklaods XFCE is very fast at).

Additional context Where I live dawn can be in 10AM hour and dusk in 3PM hour, which simply can't be forced while even be considered anything close to usable, let alone a friend who says lives in igloo (months/seasons to each night/day colour shift).         I'm a computer scientist/programmer, some whom have different schedules (night shift, etc.) so though I want my night colour shift to encourage sleep at 8PM (on schedule described) for alternative/now it'd be nice if can use dusk interval above until can gradually decrease to daytime schedule (until next time I do all-night projects)... however redshift.conf says transition is seconds but that's too much at once if I have things to work on at night and even if I get up early but don't want full screen brightness until later. My curtains block almost all light so if happens I'm up early-to-mid morning chances are I almost never want screen brightening yet (except interval above) unless can return to daytime schedule and decrease interval to something such as 3:45AM to 7AM.          Even if a night colour control program finishes dusk red shift at midnight, sometimes I instead use main monitor's blue light filter and briefly turn off night colour control software so can see/finish a few things... so may help to temporarily extend dusk red shift interval to 3AM or 4AM.

dchmelik commented 1 year ago

Apparently the control is there but redshift.conf.sample has bad example: it needs to use 24-hour time. Clearly whoever wrote that sample doesn't actually use it...