Skip to content

Conversation

@danirabbit
Copy link
Member

@danirabbit danirabbit commented Apr 11, 2025

Can be rebase merged

Fixes #14
Fixes #84

Needed to eventually fix #162

  • Adds a new gsetting to set dark mode via settings daemon. This will cut down on duplicate code in Quick Settings and System Settings to set dark mode. Make sure we always handle setting things needed for Mutter, syncing to accountsservice, etc.
  • Adds a new bool for snoozed state and set it automatically. This is so you can manually toggle dark mode on and off without canceling your schedule or having the schedule change the setting right back. Snooze will be disabled next time the schedule and color scheme are in sync or the schedule is disabled.

Correctly disable snooze with schedule
@danirabbit danirabbit force-pushed the danirabbit/color-scheme-setting branch from 87b75ad to 3c6da35 Compare April 11, 2025 01:38
Copy link
Contributor

@zeebok zeebok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know if you want me to try and break things. I imagine you tested this pretty well though since it is a pretty important feature

@danirabbit danirabbit merged commit 9f38b53 into main Apr 15, 2025
4 checks passed
@danirabbit danirabbit deleted the danirabbit/color-scheme-setting branch April 15, 2025 02:22
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.

Light/Dark Theme automated switch does not work Expose current dark/light mode over gsettings Dark mode snoozing

2 participants