redshift icon indicating copy to clipboard operation
redshift copied to clipboard

Can I use redshift to tell me whether or not it's nighttime? I want a script to automatically set the screen to max-dimness+redness on wakeup if it's dark out, and the only tricky bit is "is it dark out?", but redshift has already implemented that...

Open OwenAR opened this issue 3 years ago • 1 comments

Title pretty much already summarized it all:

I want a script to automatically set the screen to max-dimness+redness on wakeup if it's dark out, and the only tricky bit is "is it dark out?"

But I figure redshift has already implemented a solution to that, so can I just get redshift to tell me?

(Is it maybe already an option? Nothing immediately jumped out at me from the manpage, but I only skimmed it so far.)

Thanks!

OwenAR avatar Sep 05 '21 13:09 OwenAR

I actually did something similar: https://github.com/yannickperrenet/dotfiles/blob/master/.config/redshift/hooks/colorscheme.sh

(Make sure also that AppArmor isn't preventing the use of the .config/redshift/hooks directory, see #850.)

yannickperrenet avatar Jul 24 '22 19:07 yannickperrenet