jamessouth / polybar-nightlight

Gamma control/blue light filter module for Polybar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

polybar-nightlight

A gamma control/blue light filter module for your

polybar logo

 

 

description

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

clicking through rgb profiles

 

installation

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 location
  • chmod +x the script to make it executable

 

usage

Please see the wiki.

 

My other polybar modules

Please check out:

 

About

Gamma control/blue light filter module for Polybar

License:MIT License


Languages

Language:Shell 100.0%