1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-11-27 10:31:30 +00:00
Dotfiles/.config/polybar/scripts/redshift/README.md

23 lines
781 B
Markdown
Raw Normal View History

2020-07-27 04:59:00 +00:00
# polybar-redshift
## Usage
Scroll to increase and decrease temperature <br />
Left click to toggle redshift on/off
# Configuration
Make sure $envFile in redshift.sh points to correct location of env.sh <br />
Add scripts to ~/.config/polybar/scripts and load module from polybar
```
[module/redshift]
type = custom/script
format-prefix = " "
exec = source ~/.config/polybar/scripts/env.sh && ~/.config/polybar/scripts/redshift.sh temperature
click-left = source ~/.config/polybar/scripts/env.sh && ~/.config/polybar/scripts/redshift.sh toggle
scroll-up = source ~/.config/polybar/scripts/env.sh && ~/.config/polybar/scripts/redshift.sh increase
scroll-down = source ~/.config/polybar/scripts/env.sh && ~/.config/polybar/scripts/redshift.sh decrease
interval=0.5
```