Skip to content

Support custom query_command #46

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

nickhendo
Copy link

Been using this project for a long time, but my i3 setup does not set org.freedesktop.appearance.color-scheme and getting it to has proven trickier than expected. Initially my goal was to add support for the GTK Dark Theme Variant but thought perhaps something more inclusive of any wacky local setup might be better.

This PR aims to add an entry point to overwrite the query_command with a custom command, to be matched against the dark_theme_match, which will then toggle the theme accordingly. This is just a first pass, open to any feedback.

@nickhendo
Copy link
Author

nickhendo commented Feb 18, 2025

I'm unable to test this against a Windows setup, but I have tested this on both linux and MacOs.

@nekowinston nekowinston linked an issue Mar 8, 2025 that may be closed by this pull request
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.

More theme detection methods?
1 participant