wip(nvim/lualine): make similar to lazyvim bar
This commit is contained in:
parent
b64dd718c1
commit
4281afe9cf
@ -1,33 +1,72 @@
|
||||
{
|
||||
{icons, ...}: {
|
||||
plugins.lualine = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
alwaysDivideMiddle = true;
|
||||
globalstatus = true;
|
||||
ignoreFocus = ["neo-tree"];
|
||||
extensions = ["fzf"];
|
||||
theme = "auto";
|
||||
disabledFiletypes = {
|
||||
statusline = ["dashboard" "alpha" "starter"];
|
||||
};
|
||||
componentSeparators = {
|
||||
left = "|";
|
||||
right = "|";
|
||||
left = "·";
|
||||
right = "·";
|
||||
};
|
||||
sectionSeparators = {
|
||||
left = "█"; #
|
||||
right = "█"; #
|
||||
left = ""; #
|
||||
right = ""; #
|
||||
};
|
||||
sections = {
|
||||
lualine_a = ["mode"];
|
||||
lualine_b = [
|
||||
lualine_b = ["branch"];
|
||||
lualine_c = [
|
||||
{
|
||||
name = "branch";
|
||||
icon = "";
|
||||
name = "diagnostics";
|
||||
extraConfig.symbols = {
|
||||
error = icons.diagnostics.Error;
|
||||
warn = icons.diagnostics.Warn;
|
||||
info = icons.diagnostics.Info;
|
||||
hint = icons.diagnostics.Hint;
|
||||
};
|
||||
}
|
||||
"diff"
|
||||
"diagnostics"
|
||||
{
|
||||
name = "filetype";
|
||||
extraConfig.icon_only = true;
|
||||
separator = {
|
||||
left = "";
|
||||
right = "";
|
||||
};
|
||||
padding = {
|
||||
left = 1;
|
||||
right = 0;
|
||||
};
|
||||
}
|
||||
"filename"
|
||||
];
|
||||
lualine_c = ["filename"];
|
||||
lualine_x = ["filetype"];
|
||||
lualine_y = ["progress"];
|
||||
lualine_z = [''" " .. os.date("%R")''];
|
||||
|
||||
lualine_x = [];
|
||||
lualine_y = [
|
||||
{
|
||||
name = "progress";
|
||||
separator = {
|
||||
left = " ";
|
||||
right = " ";
|
||||
};
|
||||
padding = {
|
||||
left = 1;
|
||||
right = 1;
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "location";
|
||||
padding = {
|
||||
left = 0;
|
||||
right = 1;
|
||||
};
|
||||
}
|
||||
];
|
||||
lualine_z = [''" " .. os.date("%I:%M %p"):gsub("0*", "", 1)''];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user