aurorabcf3d26
nvim: matugen.nvim colorscheme, tokyonight commented out
+44 −38
4 files changed
- M .config/matugen/config.toml +5 −0
- A .config/matugen/templates/nvim.json +17 −0
- M .config/nvim/lua/config/lazy.lua +1 −1
- M .config/nvim/lua/plugins/colorscheme.lua +21 −37
| @@ -39,3 +39,8 @@ output_path = '~/.cache/matugen/foot.ini' | |||
| 39 | 39 | [templates.budctl] | |
| 40 | 40 | input_path = '~/.config/matugen/templates/budctl.json' | |
| 41 | 41 | 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' | |
| @@ -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 | + | } | |
| @@ -30,7 +30,7 @@ require("lazy").setup({ | |||
| 30 | 30 | version = false, -- always use the latest git commit | |
| 31 | 31 | -- version = "*", -- try installing the latest stable version for plugins that support semver | |
| 32 | 32 | }, | |
| 33 | − | install = { colorscheme = { "tokyonight", "habamax" } }, | |
| 33 | + | install = { colorscheme = { "matugen", "habamax" } }, | |
| 34 | 34 | checker = { | |
| 35 | 35 | enabled = true, -- check for plugin updates periodically | |
| 36 | 36 | notify = false, -- notify on update | |
| @@ -1,44 +1,28 @@ | |||
| 1 | 1 | 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 | |
| 2 | 14 | { | |
| 3 | − | "folke/tokyonight.nvim", | |
| 15 | + | "daedlock/matugen.nvim", | |
| 16 | + | lazy = false, | |
| 17 | + | priority = 1000, | |
| 4 | 18 | opts = { | |
| 5 | − | -- transparent = true, | |
| 6 | − | styles = { | |
| 7 | − | sidebars = "transparent", | |
| 8 | − | floats = "transparent", | |
| 9 | − | }, | |
| 19 | + | colors_path = "~/.cache/matugen/nvim.json", | |
| 10 | 20 | }, | |
| 11 | 21 | }, | |
| 12 | 22 | ||
| 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 | + | }, | |
| 44 | 28 | } | |