auto-dark-mode.nvim icon indicating copy to clipboard operation
auto-dark-mode.nvim copied to clipboard

Support custom query_command

Open nickhendo opened this issue 9 months ago • 1 comments

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 avatar Feb 18 '25 11:02 nickhendo

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

nickhendo avatar Feb 18 '25 11:02 nickhendo