Skip to content

jamessouth/polybar-nightlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Languages