---@type ChadrcConfig local M = {} -- Path to overriding theme and highlights files local highlights = require "custom.highlights" local is_darkmode = vim.system({"darkman","get"}, { text = true }, on_exit) if is_darkmode == "dark" then local c_theme = "nord" else local c_theme = "onenord_light" end M.ui = { theme = c_theme, theme_toggle = { "nord", "onenord_light" }, hl_override = highlights.override, hl_add = highlights.add, nvdash = { load_on_startup = true, -- generated with https://patorjk.com/software/taag/# header = { "▗▖ ▗▖▗▄▄▄▖ ▗▄▖ ▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖", "▐▛▚▖▐▌▐▌ ▐▌ ▐▌▐▌ ▐▌ █ ▐▛▚▞▜▌", "▐▌ ▝▜▌▐▛▀▀▘▐▌ ▐▌▐▌ ▐▌ █ ▐▌ ▐▌", "▐▌ ▐▌▐▙▄▄▖▝▚▄▞▘ ▝▚▞▘ ▗▄█▄▖▐▌ ▐▌", " ", } } } M.plugins = "custom.plugins" -- check core.mappings for table structure M.mappings = require "custom.mappings" return M