djanho icon indicating copy to clipboard operation
djanho copied to clipboard

Please how can i make this work

Open Stephan-MC opened this issue 2 years ago • 3 comments

Stephan-MC avatar Jan 10 '23 22:01 Stephan-MC

Hi @Stephan-MC, could you provide some info about what are you are trying to do and the problem you're having?

viniciusmuller avatar Jan 11 '23 11:01 viniciusmuller

I don't know how to use this either, I put the json in the same folder as djanho.exe, then ran djanho.exe mytheme.json on windows and nothing happened.

Qosc avatar Mar 11 '23 16:03 Qosc

Your problem is not clear but please follow these steps, they worked for me. Clone the repository somewhere: git clone --depth 1 https://github.com/viniciusmuller/djanho.git Move into the repository: cd djanho Build the executable: cargo build --release (P.S. you need to have rust installed) This should work without any errors. Now, copy the executable out to any folder you like. I am moving it out to the folder you cloned the repository to (the parent folder) cp ./target/release/djanho ../ Go to the folder you copied the executable to cd ../ in my case Run the executable to check for any errors till now djanho --help If it works till now and doesn't further, then there is probably an issue with your colorscheme.json Now run djanho -l colorscheme.json to convert the colorscheme into a lua file. (If you do not want lua but a vimscript file, omit the -l flag) you will get a file named generated.lua in the folder you ran the command from. to use it in neovim you shall move the colorscheme into colors folder mkdir -p ~/.config/nvim/colors mv generated.lua ~/.config/nvim/colors/colorscheme-name.lua

ishaan-kapoor avatar Sep 25 '23 05:09 ishaan-kapoor