if the user's configuration doesn't explicitly start the redshift module, calling this will have no effectĮxtensions/redshift/a line 161.to automatically invert colors if the ambient light sensor reading drops belowĪ certain threshold ( hs.brightness.DDCauto() can optionally do exactly that) v - a boolean indicating whether to invert the colors (if true) or clear any previous requests (if false or nil).id - a string identifying the requester (usually the module name).Sets or clears a request for color inversion the ID string (usually the module name) provided to hs.redshift.requestInvert(), if another module requested color inversionĮxtensions/redshift/a line 144."redshift-night" if hs.redshift.start() was called with invertAtNight set to true,."user" for the user override (see hs.redshift.toggleInvert()).false if the colors are not currently inverted otherwise, a string indicating the reason, one of:.Hs.redshift.isInverted() -> string or falseĬhecks if the colors are currently inverted
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |