-
Notifications
You must be signed in to change notification settings - Fork 1
Editor Module
Sam edited this page Jul 10, 2024
·
1 revision
The editor
module displays the name of your preferred editor, set by either $EDITOR or $VISUAL.
Insert into the modules
array.
-
title
-> (String) The module title. -
format
-> (String) The format used to display the module. Check below to see available placeholders -
fancy
-> (Bool) Display a fancy name opposed to the name of the raw binary. -
title_color
-> (Optional/String) Override the title color to be used. -
title_bold
-> (Optional/Bool) Make the title bold. -
title_italic
-> (Optional/Bool) Make the title italic. -
seperator
-> (Optional/Char) Override the separator to be used.
-
{name}
-> The name of the editor. -
{path}
-> The executable path of the editor.
[editor]
title = "Editor"
format = "{name}"
fancy = true
modules = [
"editor"
]
[editor]
title = "Editor"
format = "{name} at {path}"
fancy = false