redshift
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...
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!
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.)