dark-notify
dark-notify copied to clipboard
Is it possible to current mode without listening to changes?
I would like to query the current theme and not listen to changes. Is that possible?
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.