2022-09-10 12:04:50 +02:00
|
|
|
|
local lualine = require("lualine")
|
2022-09-10 12:54:25 +02:00
|
|
|
|
|
|
|
|
|
local function clock()
|
|
|
|
|
return os.date("%H:%M")
|
|
|
|
|
end
|
|
|
|
|
|
2022-09-10 12:04:50 +02:00
|
|
|
|
lualine.setup({
|
|
|
|
|
options = {
|
|
|
|
|
globalstatus = true,
|
2022-09-10 12:43:26 +02:00
|
|
|
|
theme = "onelight",
|
2022-09-10 13:00:48 +02:00
|
|
|
|
component_separators = { left = "╲", right = "╱" },
|
2022-09-10 12:43:26 +02:00
|
|
|
|
section_separators = { left = "", right = "" },
|
2022-09-10 12:04:50 +02:00
|
|
|
|
},
|
|
|
|
|
sections = {
|
|
|
|
|
lualine_c = {
|
|
|
|
|
{
|
|
|
|
|
"filename",
|
|
|
|
|
path = 1,
|
|
|
|
|
file_status = true,
|
|
|
|
|
},
|
|
|
|
|
},
|
2022-09-10 12:54:25 +02:00
|
|
|
|
lualine_x = { "filetype" },
|
|
|
|
|
lualine_y = { "location", "progress" },
|
|
|
|
|
lualine_z = { clock },
|
2022-09-10 12:04:50 +02:00
|
|
|
|
},
|
|
|
|
|
})
|