Skip to content

NvChad/pywal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

66a4d60 · Nov 8, 2024

History

28 Commits
Jul 24, 2024
Oct 26, 2024
Oct 26, 2024
Oct 8, 2024
Oct 8, 2024
Nov 8, 2024

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