Compare commits

...

1 Commits

Author SHA1 Message Date
8d1278b84a Fix pywal missing 2026-03-09 23:20:40 +00:00

View File

@@ -10,18 +10,18 @@ return {
}, },
priority = 1000, -- Make sure to load this before all the other start plugins. priority = 1000, -- Make sure to load this before all the other start plugins.
config = function() config = function()
-- Check if wal directory exists otherwise use tokyo
local handle = io.popen('ls -d $HOME/.cache/wal 2>/dev/null')
local result = handle:read('*a')
handle:close()
---@diagnostic disable-next-line: missing-fields ---@diagnostic disable-next-line: missing-fields
require('tokyonight').setup(); require('tokyonight').setup()
vim.cmd.colorscheme 'tokyonight-night' vim.cmd.colorscheme 'tokyonight-night'
require('pywal').setup(); -- Check if wal directory exists otherwise use tokyo
local handle = io.popen 'ls -d $HOME/.cache/wal 2>/dev/null'
local result = handle:read '*a'
handle:close()
if result ~= '' then
require('pywal').setup()
end
end, end,
} }