Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.04 KB

README.md

File metadata and controls

38 lines (31 loc) · 1.04 KB

Base46: Pywal Edition

Pywal and Matugen support for NvChad!

Note

Support for Pywal requires these Python libraries to be installed:

  • pywal
  • watchdog

Installation

cd ~/.config/nvim
git clone https://github.com/NvChad/pywal

Add this at the end of your init.lua file:

os.execute("python ~/.config/nvim/pywal/chadwal.py &> /dev/null &")

local autocmd = vim.api.nvim_create_autocmd

autocmd("Signal", {
  pattern = "SIGUSR1",
  callback = function()
    require('nvchad.utils').reload()
  end
})

Now you need to generate your Pywal theme again using wal -i <image>. If not, chadwal will default to gruvchad colors.

Matugen support

Add this line to the [templates] section of your ~/.config/matugen/config.toml file:

nvim = { input_path = '~/.config/nvim/pywal/matugen.lua', output_path = '~/.cache/wal/base46-dark.lua' }

Select chadwal theme and enjoy!

Demo

chadwal_demo.mp4