f-person / auto-dark-mode.nvim

A Neovim plugin for macOS, Linux & Windows that automatically changes the editor appearance based on system settings.
GNU General Public License v3.0
322 stars 26 forks source link

Default mode on startup? #43

Open matthiasbeyer opened 1 week ago

matthiasbeyer commented 1 week ago

I would like if there was a setting to enforce a theme (dark/light) on startup.

I use a light theme for my Desktop environment, but my terminal is usually dark. The best solution would actually be if the theme was selected based on the terminal color (in my case Konsole), but that's a hard issue as far as I understand. Thus it would be awesome to force a mode on startup of nvim (and the update-interval not automatically resetting the mode of course) and a command I can run by hand to make the plugin continue "normally".

Would you consider adding such functionality?

f-person commented 1 week ago

hmm, would being able to run it disabled be sufficient? then u could toggle it with something like :AutoDarkModeToggle?

matthiasbeyer commented 1 week ago

That sounds like an alternative, yes.