15 lines
423 B
Lua
15 lines
423 B
Lua
-- Inserts a component in lualine_c at left section
|
|
local config = {}
|
|
local function ins_left(component)
|
|
table.insert(config.sections.lualine_c, component)
|
|
end
|
|
|
|
-- Inserts a component in lualine_x ot right section
|
|
local function ins_right(component)
|
|
table.insert(config.sections.lualine_x, component)
|
|
end
|
|
|
|
local config = require('lualine').get_config()
|
|
config.options.theme = 'onedark'
|
|
require('lualine').setup(config)
|