Status bar is a program that is executed every time the cursor is moved. It is used to display additional information about the current file.
For example, to simulate the ls -l
command, you can use the following status bar program:
export WALK_STATUS_BAR='[Mode(), Owner(), Size() | PadLeft(7), ModTime() | PadLeft(12)] | join(" ")'
The syntax of the status bar program is based on the expr language.
Current file, type: fs.DirEntry
List of files in the current directory, type: []fs.DirEntry
Returns a formatted string.
Returns a string padded with spaces on the left.
Returns a string padded with spaces on the right.
Returns the size of the current file in human-readable format.
Returns the file mode of the current file. Like drwxr-xr-x
.
Returns the modification time of the current file in human-readable format.
Returns owner's username and group name.