auto-dark-mode.nvim
auto-dark-mode.nvim copied to clipboard
Support custom query_command
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.
I'm unable to test this against a Windows setup, but I have tested this on both linux and MacOs.