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
- Host: GitHub
- URL: https://github.com/jamessouth/polybar-nightlight
- Owner: jamessouth
- License: mit
- Created: 2021-07-21T21:01:38.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-17T18:05:03.000Z (almost 2 years ago)
- Last Synced: 2025-03-28T21:12:33.403Z (about 1 year ago)
- Topics: bash, polybar, xorg, xrandr
- Language: Shell
- Homepage:
- Size: 249 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
```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
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)