Sitelet https://github.com/ericschaal/polybar-redshift/blob/master/README.md
Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 629 Bytes

File metadata and controls

29 lines (20 loc) · 629 Bytes

Polybar Redshift

Simple redshift toggle switch. Displays current redshift display temperature target.

Dependencies

  • redshift
  • polybar

Usage

  • Left click to toggle on/off

Configuration

  • Move redshift.sh to ~/.config/polybar/scripts/redshift.sh
  • Make redshift.sh executable
  • Load redshift.sh from polybar config
[module/redshift]
type = custom/script
format-prefix = ""  
exec = ~/.config/polybar/scripts/redshift.sh temperature 
click-left = ~/.config/polybar/scripts/redshift.sh toggle 
interval=1.0