Yazi : Enable status bar & style that bitch.
This commit is contained in:
parent
ae4a88b443
commit
8e6b33fd95
|
@ -1,10 +1,10 @@
|
||||||
{ util, pkgs, ... }: {
|
{ util, pkgs, ... }: {
|
||||||
file = pkgs.writeText "YaziInitConfig" (util.trimTabs ''
|
file = pkgs.writeText "YaziInitConfig" (util.trimTabs ''
|
||||||
-- Hide Status Bar.
|
-- Hide Status Bar.
|
||||||
function Status:render() return {} end
|
-- function Status:render() return {} end
|
||||||
local old_manager_render = Manager.render
|
-- local old_manager_render = Manager.render
|
||||||
function Manager:render(area)
|
-- function Manager:render(area)
|
||||||
return old_manager_render(self, ui.Rect { x = area.x, y = area.y, w = area.w, h = area.h + 1 })
|
-- return old_manager_render(self, ui.Rect { x = area.x, y = area.y, w = area.w, h = area.h + 1 })
|
||||||
end
|
-- end
|
||||||
'');
|
'');
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,5 +29,54 @@ in {
|
||||||
input = { border = borderLight; };
|
input = { border = borderLight; };
|
||||||
completion = { border = borderLight; };
|
completion = { border = borderLight; };
|
||||||
tasks = { border = borderLight; };
|
tasks = { border = borderLight; };
|
||||||
|
|
||||||
|
status = {
|
||||||
|
separator_open = "";
|
||||||
|
separator_close = "";
|
||||||
|
# NOTE: Inversed because yazi dev is fckin weird. Also add manpages ffs.
|
||||||
|
separator_style = {
|
||||||
|
bg = "#${config.style.color.fg.light}";
|
||||||
|
fg = "#${config.style.color.bg.regular}";
|
||||||
|
};
|
||||||
|
mode_normal = {
|
||||||
|
fg = "#${config.style.color.fg.light}";
|
||||||
|
bg = "#${config.style.color.bg.regular}";
|
||||||
|
};
|
||||||
|
mode_select = {
|
||||||
|
fg = "#${config.style.color.fg.light}";
|
||||||
|
bg = "#${config.style.color.selection}";
|
||||||
|
};
|
||||||
|
mode_unset = {
|
||||||
|
fg = "#${config.style.color.fg.light}";
|
||||||
|
bg = "#${config.style.color.neutral}";
|
||||||
|
};
|
||||||
|
progress_label = {
|
||||||
|
fg = "#${config.style.color.fg.light}";
|
||||||
|
bg = "#${config.style.color.bg.regular}";
|
||||||
|
};
|
||||||
|
progress_normal = {
|
||||||
|
fg = "#${config.style.color.fg.light}";
|
||||||
|
bg = "#${config.style.color.bg.regular}";
|
||||||
|
};
|
||||||
|
progress_error = {
|
||||||
|
fg = "#${config.style.color.fg.light}";
|
||||||
|
bg = "#${config.style.color.negative}";
|
||||||
|
};
|
||||||
|
permissions_t = {
|
||||||
|
fg = "#${config.style.color.fg.light}";
|
||||||
|
};
|
||||||
|
permissions_r = {
|
||||||
|
fg = "#${config.style.color.fg.light}";
|
||||||
|
};
|
||||||
|
permissions_w = {
|
||||||
|
fg = "#${config.style.color.fg.light}";
|
||||||
|
};
|
||||||
|
permissions_x = {
|
||||||
|
fg = "#${config.style.color.fg.light}";
|
||||||
|
};
|
||||||
|
permissions_s = {
|
||||||
|
fg = "#${config.style.color.fg.light}";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue