Skip to content
/ pywal Public

Pywal integration for NvChad's base46 (created & maintained by @Axenide)

License

Notifications You must be signed in to change notification settings

NvChad/pywal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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