Krolyxon
Commit bcf3d26

Branches

Refs →

aurorabcf3d26

nvim: matugen.nvim colorscheme, tokyonight commented out

Author
krolyxon
Date
2026-11-01 19:55 +0530
Parent
6a3e480
Commit
bcf3d26fab99f3aa9b6114581b522549067d9e0b

+44 −38

4 files changed

  1. M .config/matugen/config.toml +5 −0
  2. A .config/matugen/templates/nvim.json +17 −0
  3. M .config/nvim/lua/config/lazy.lua +1 −1
  4. M .config/nvim/lua/plugins/colorscheme.lua +21 −37
M .config/matugen/config.toml View
@@ -39,3 +39,8 @@ output_path = '~/.cache/matugen/foot.ini'
3939 [templates.budctl]
4040 input_path = '~/.config/matugen/templates/budctl.json'
4141 output_path = '~/.cache/matugen/budctl.json'
42+
43+# neovim: matugen.nvim watches this file and recolours open editors itself
44+[templates.nvim]
45+input_path = '~/.config/matugen/templates/nvim.json'
46+output_path = '~/.cache/matugen/nvim.json'
A .config/matugen/templates/nvim.json View
@@ -0,0 +1,17 @@
1+{
2+ "surface_container_lowest": "{{colors.surface_container_lowest.default.hex}}",
3+ "surface_dim": "{{colors.surface_dim.default.hex}}",
4+ "surface": "{{colors.surface.default.hex}}",
5+ "surface_container_low": "{{colors.surface_container_low.default.hex}}",
6+ "surface_container": "{{colors.surface_container.default.hex}}",
7+ "surface_container_high": "{{colors.surface_container_high.default.hex}}",
8+ "surface_container_highest": "{{colors.surface_container_highest.default.hex}}",
9+ "outline": "{{colors.outline.default.hex}}",
10+ "outline_variant": "{{colors.outline_variant.default.hex}}",
11+ "on_surface": "{{colors.on_surface.default.hex}}",
12+ "on_surface_variant": "{{colors.on_surface_variant.default.hex}}",
13+ "primary": "{{colors.primary.default.hex}}",
14+ "secondary": "{{colors.secondary.default.hex}}",
15+ "tertiary": "{{colors.tertiary.default.hex}}",
16+ "error": "{{colors.error.default.hex}}"
17+}
M .config/nvim/lua/config/lazy.lua View
@@ -30,7 +30,7 @@ require("lazy").setup({
3030 version = false, -- always use the latest git commit
3131 -- version = "*", -- try installing the latest stable version for plugins that support semver
3232 },
33− install = { colorscheme = { "tokyonight", "habamax" } },
33+ install = { colorscheme = { "matugen", "habamax" } },
3434 checker = {
3535 enabled = true, -- check for plugin updates periodically
3636 notify = false, -- notify on update
M .config/nvim/lua/plugins/colorscheme.lua View
@@ -1,44 +1,28 @@
11 return {
2+ -- {
3+ -- "folke/tokyonight.nvim",
4+ -- opts = {
5+ -- -- transparent = true,
6+ -- styles = {
7+ -- sidebars = "transparent",
8+ -- floats = "transparent",
9+ -- },
10+ -- },
11+ -- },
12+
13+ -- colours from the wallpaper: matugen renders ~/.cache/matugen/nvim.json, the plugin watches it
214 {
3− "folke/tokyonight.nvim",
15+ "daedlock/matugen.nvim",
16+ lazy = false,
17+ priority = 1000,
418 opts = {
5− -- transparent = true,
6− styles = {
7− sidebars = "transparent",
8− floats = "transparent",
9− },
19+ colors_path = "~/.cache/matugen/nvim.json",
1020 },
1121 },
1222
13− -- "RedsXDD/neopywal.nvim",
14− -- name = "neopywal",
15− -- lazy = false,
16− -- priority = 1000,
17− -- opts = {
18− -- transparent_background = true,
19− -- plugins = {
20− -- alpha = true,
21− -- dashboard = false,
22− -- git_gutter = true,
23− -- indent_blankline = true,
24− -- lazy = true,
25− -- lazygit = true,
26− -- noice = false,
27− -- notify = true,
28− -- nvim_cmp = true,
29− -- mini = {
30− -- hipatterns = true,
31− -- indentscope = {
32− -- enabled = false,
33− -- },
34− -- pick = true,
35− -- starter = true,
36− -- },
37− -- },
38− -- },
39−
40− -- config = function(_, opts)
41− -- require("neopywal").setup(opts)
42− -- vim.cmd.colorscheme("neopywal")
43− -- end,
23+ -- LazyVim applies this colorscheme (default would be tokyonight)
24+ {
25+ "LazyVim/LazyVim",
26+ opts = { colorscheme = "matugen" },
27+ },
4428 }