Skip to content

Local IP Module

Sam edited this page Aug 27, 2024 · 2 revisions

The localip module displays your local IP address.

This is a multi-line module, and will have a new line per network interface it detects an IP for.

Using

Insert into the modules array.

Configuration

  • title -> (String) The module title.
  • format -> (Optional/String) The format, check below to see available placeholders.
  • 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.
  • separator -> (Optional/Char) Override the separator to be used.
Available Alaceholders;
  • {interface} -> The name of the interface.
  • {addr} -> The local IP given to that interface.
Default/Example Configuration
[localip]
title = "Local IP ({interface})"
format = "{addr}"