Fix pywal missing

This commit is contained in:
2026-03-09 23:20:40 +00:00
parent e4a935de25
commit 8d1278b84a

View File

@@ -10,18 +10,18 @@ return {
},
priority = 1000, -- Make sure to load this before all the other start plugins.
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
require('tokyonight').setup();
require('tokyonight').setup()
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,
}