dark-notify icon indicating copy to clipboard operation
dark-notify copied to clipboard

Is it possible to current mode without listening to changes?

Open Hugo-Persson opened this issue 1 year ago • 1 comments

I would like to query the current theme and not listen to changes. Is that possible?

Hugo-Persson avatar Apr 09 '24 16:04 Hugo-Persson

On the command line, dark-notify -e will print either dark or light. You can run that from inside vim at any time using system("dark-notify -e") or similar and examine the one word of output.

cormacrelf avatar Apr 22 '24 00:04 cormacrelf