-*- mode: org -*-
Emacs-Redshift
(aka redshift.el
) provides an Emacs interface to
Redshift for changing display
color temperature.
Emacs-Redshift can be used from a Git checkout and can be installed using Guix.
Clone a Git repository:
git clone https://github.com/wigust/emacs-redshift
Add it to Emacs load-path
in your init file and load:
(add-to-list 'load-path (expand-file-name "~/emacs-redshift"))
(require 'redshift)
Clone a Git repository:
git clone https://github.com/wigust/emacs-redshift
cd emacs-redshift
Install a Guix package with:
guix package -f guix.scm
Call M-x redshift-set-temp
to set a display temperature.
Call M-x redshift-increase-temp
to increase a display temperature.
Call M-x redshift-decrease-temp
to decrease a display temperature.
To change increment for redshift-increase-temp
and
redshift-decrease-temp
set redshift-temp-increment
to a number.
(setq redshift-temp-increment 100)
You could use Hydra to get an interactive interface:
(defhydra hydra-redshift () "redshift"
("g" redshift-set-temp "set")
("n" redshift-decrease-temp "decrease")
("p" redshift-increase-temp "increase"))