A gamma control/blue light filter module for your
This module provides a blue light filter/night shift effect for X
displays. It:
- uses polybar's
ipc
function - calls the
xrandr
command to change the gamma output - does not depend on
redshift
- can be automated to run on a schedule
fn="$HOME/.config/polybar/nightlight.sh" && curl -o $fn https://raw.githubusercontent.com/jamessouth/polybar-nightlight/master/nightlight.sh && chmod +x $fn
This will:
- set the
fn
variable to~.config/polybar/nightlight.sh
curl
the script to that locationchmod +x
the script to make it executable
Please see the wiki.
Please check out: