Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring lower status bar? #1103

Closed
ShinyZero0 opened this issue Feb 4, 2023 · 1 comment · Fixed by #1257
Closed

Configuring lower status bar? #1103

ShinyZero0 opened this issue Feb 4, 2023 · 1 comment · Fixed by #1257

Comments

@ShinyZero0
Copy link

I couldn't find anything about this bar in docs. How do i configure at least the file info displayed there? For example i do set info atime but the date displayed in status bar is ctime.

Сб 04 фев 2023 18:38:09 MSK
Also it would be cool to add the available disk space indicator as in ranger

@joelim-work
Copy link
Collaborator

The lower status bar is handled by the ui.loadFileInfo method, which displays the last modfiication time:

lf/ui.go

Lines 742 to 749 in 3fc1db5

ui.echof("%v %v%v%v%4s %v%s",
curr.Mode(),
linkCount(curr), // optional
userName(curr), // optional
groupName(curr), // optional
humanize(curr.Size()),
curr.ModTime().Format(gOpts.timefmt),
linkTarget)

I don't think there are any plans to make this configurable, unless you would like to submit a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants