Skip to content

Terminal Module

Sam edited this page Jul 6, 2024 · 1 revision

The terminal module displays the name of your current terminal.

Using

Insert into the modules array.

Configuration

  • title -> (String) The module title.
  • chase_ssh_pts -> (Bool) Whether to find the name of the current PTS if SSH is being used.
  • 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.
  • format -> (Optional/String) The format. Only contains a singular {terminal_name} placeholder.
Default Configuration
[terminal]
title = "Terminal"
chase_ssh_pts = false

Example

modules = [
    "terminal"
]

[terminal]
title = "Terminal"
chase_ssh_pts = false