Redshift

From wikinotes
Revision as of 10:13, 6 September 2018 by Will (talk | contribs) (→‎Warm Screen)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

redshift is a commandline program inspired by f.lux to modify your computer's colour temperature for reduced eye strain depending on the time of day. If it's working properly you won't notice a thing until it has been turned off. There is a CLI version of F.lux, but it only supports a single screen. Redshift supports multiple screens.

Warm Screen

### Install
pacman -S redshift

### Start/test colour
redshift -l 45:-75

### Autostart redshift
sudo cp /usr/lib/systemd/user/redshift.service /etc/systemd/system
sudo systemctl start redshift
sudo systemctl enable redshift
#  (I had issues starting it with systemd, so I've temporarily added it to my .start script)

#### ~/.config/redshift.conf
lat=45.42
lon=-75.69
screen=0

Darken Screen

If the warm tone isn't enough, you can also darken your screen below the hardware amount using xrandr.

xrandr --output eDP1 --brightness 0.4