An open API service indexing awesome lists of open source software.

https://github.com/jamessouth/polybar-nightlight

Gamma control/blue light filter module for Polybar
https://github.com/jamessouth/polybar-nightlight

bash polybar xorg xrandr

Last synced: about 1 year ago
JSON representation

Gamma control/blue light filter module for Polybar

Awesome Lists containing this project

README

          




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

```bash
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:
* [polybar-time-bar](https://github.com/jamessouth/polybar-time-bar)
* [polybar-binary-clock-fonts](https://github.com/jamessouth/polybar-binary-clock-fonts)