Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle redshift transition period #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

va1entin
Copy link

@va1entin va1entin commented Dec 1, 2022

Redshift offers a third period Transition which is active while transitioning between Day and Night.

xfce4-night-mode-redshift.sh currently does not recognize this and moves to / stays in day mode because grep 'Period: Night' does not match on Period: Transition.

With this PR the script handles all three periods and allows the user to define which mode to use during transition periods with a variable TRANSITION_MODE. My use case is switching to night mode during the transition period at sunset so I set the default to night.

Thank you for the great work! It has really improved my XFCE experience 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant