Skip to content

Handle redshift transition period - #8

Open
va1entin wants to merge 1 commit into
bimlas:masterfrom
va1entin:handle-redshift-transition-period
Open

Handle redshift transition period#8
va1entin wants to merge 1 commit into
bimlas:masterfrom
va1entin:handle-redshift-transition-period

Conversation

@va1entin

@va1entin va1entin commented Dec 1, 2022

Copy link
Copy Markdown

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