Arch 2025 rice. Also contains a newly inspired neovim config.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
614 B

2 weeks ago
1 week ago
2 weeks ago
1 week ago
2 weeks ago
  1. vim.g.mapleader = " "
  2. require("junikim")
  3. local function script_path()
  4. local str = debug.getinfo(2, 'S').source:sub(2)
  5. return str:match('(.*' .. '/' .. ')')
  6. end
  7. local themepkgs = {}
  8. local success, theme = pcall(require, "themes")
  9. if not success then
  10. local file = io.open(script_path() .. './lua/themes/init.lua', 'w')
  11. if file ~= nil then
  12. file:write('return require("themes.catppuccin")')
  13. file:close()
  14. themepkgs = require("themes")
  15. else
  16. themepkgs = require("themes.everforest")
  17. end
  18. else
  19. themepkgs = theme
  20. end
  21. require("lazy").setup({
  22. { import = 'junikim.plugins' },
  23. themepkgs
  24. })