I use a script to generate colors from wallpaper and save them to lua/themes/ and execute
for addr in "$XDG_RUNTIME_DIR"/nvim.*; do
[[ -S "$addr" ]] || continue
nvim --server "$addr" --remote-send ':lua require("nvchad.utils").reload("themes") <cr>'
done
and it works fine but , the issue is that if I am on insert mode it doesn't work, also the lua require("nvchad.utils").reload("themes") <cr> line is inserted in editing buffer on nvim .So is their any better way then this.
I use a script to generate colors from wallpaper and save them to
lua/themes/and executeand it works fine but , the issue is that if I am on insert mode it doesn't work, also the
lua require("nvchad.utils").reload("themes") <cr>line is inserted in editing buffer on nvim .So is their any better way then this.