Skip to content

Configuration

Config file location: ~/.config/l/config.toml

(if you can’t find the config check $XDG_CONFIG_HOME/l/config.toml)

Generate with defaults

Terminal window
l --config-init

General

OptionTypeDefaultDescription
editorstringnvimEditor opened by l -C
interactive_defaultboolfalseStart in interactive mode by default
default_flagsstringDefault CLI flags (e.g. "-m -a")
empty_dir_messagestringempty dirMessage shown when directory is empty

Display

OptionTypeDefaultDescription
show_headerbooltrueShow column header row
show_borderbooltrueShow table border
show_typebooltrueShow file type column
show_sizebooltrueShow file size column
show_modifiedbooltrueShow modified date column
show_iconsbooltrueShow Nerd Font icons
show_permissionsboolfalseShow permissions column
show_bottom_header_for_large_returnsbooltrueRepeat header at bottom when row count exceeds window height
always_show_bottom_headerboolfalseAlways repeat header at bottom
directory_positionstringinlineDirectory sort position: top, bottom, or inline (sorted with files)

Colors

Colors accept terminal color numbers, named colors, or hex values (e.g. 7, "red", "#ff8800").

OptionTypeDefaultDescription
headingsstring15Column header color
primarystring02Primary accent color
secondarystring06Secondary accent color
textstring07Default text color
text_highlightstring06Highlighted text color
description_highlightstring05Highlighted description color
mutedstring08Muted/dim text color
borderstring08Table border color
dir_colorstring12Directory name color
file_colorstring07File name color
type_colorstring08File type column color
permissions_colorstring08Permissions column color

Modified age colors

Applied based on how recently a file was modified.

OptionDefaultWhen applied
mod_newer_color10< 1 hour ago
mod_new_color02< 1 day ago
mod_old_color03< 1 week ago
mod_older_color04< 4 weeks ago
modified_colorOverrides all of the above when set

File size colors

OptionDefaultWhen applied
file_sm10< 10 KB
file_md02< 100 KB
file_lg03< 1 MB
file_xl04≥ 1 MB
file_sizeOverrides all of the above when set