reddish-shift 0.1.0

Set color temperature of display according to time of day
docs.rs failed to build reddish-shift-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: reddish-shift-0.1.2

CICD COVERAGE CRATES.IO REPOSITORIES

Reddish-shift

A port of Redshift. Translated line by line with the help of C2Rust.

Reddish-shift 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.

Installation

REPOSITORIES

cargo install reddish-shift
paru -S reddish-shift
paru -S reddish-shift-bin
paru -S reddish-shift-git

Usage

For a quick start, run:

reddish-shift daemon --location LATITUDE:LONGITUDE

replace LATITUDE and LONGITUDE with your current geolocation.

To see all available commands:

reddish-shift -h

To see all available options for a given command (e.g. daemon):

reddish-shift daemon --help

Note that using --help instead of -h prints a more detailed help message.

A configuration file can also be used. It should be saved in the following location depending on the platform:

  • Linux: $XDG_CONFIG_HOME/reddish-shift/config.toml or $HOME/.config/reddish-shift/config.toml if $XDG_CONFIG_HOME is not set or /etc/reddish-shift/config.toml for system wide configuration
  • macOS: $HOME/Library/Application Support/reddish-shift/config.toml
  • Windows: %AppData%\reddish-shift\config.toml

RoadMap

  • Linux
    • XRANDR gamma adjustment
    • XVidMode gamma adjustment
    • DRM gamma adjustment
    • reddish-shift-gtk (from redshift-gtk)
    • systemd service, apparmor config (from redshift/data)
  • Windows
    • Win32gdi gamma adjustment
  • Support installation with: Appimage, AUR, DEB, PPA, MSI, Choco
  • Geoclue2 location provider
  • Real screen brightness control (experimental)
  • Supporting macOS is not planned currently. Contributions are welcomed.
  • Unit testing

License

This project is licensed under the terms of GNU General Public License v3.0.