mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
53 lines
1.1 KiB
Nix
53 lines
1.1 KiB
Nix
{ lib, config, ... }:
|
|
let
|
|
cfg = config.presets.base.status-line;
|
|
in
|
|
{
|
|
options.presets.base.status-line = {
|
|
enable = lib.mkEnableOption "status line";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
plugins = {
|
|
notify = {
|
|
enable = true;
|
|
backgroundColour = "#000000";
|
|
};
|
|
lualine = {
|
|
enable = true;
|
|
globalstatus = true;
|
|
sectionSeparators = {
|
|
left = "";
|
|
right = "";
|
|
};
|
|
componentSeparators = {
|
|
left = "┊";
|
|
right = "┊";
|
|
};
|
|
sections = {
|
|
lualine_a = [
|
|
{
|
|
name = "mode";
|
|
separator = {
|
|
right = "";
|
|
left = "";
|
|
};
|
|
icon = "";
|
|
}
|
|
];
|
|
lualine_x = lib.mkAfter [ { name = "filetype"; } ];
|
|
lualine_z = [
|
|
{
|
|
name = "location";
|
|
separator = {
|
|
right = "";
|
|
left = "";
|
|
};
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|