-
Notifications
You must be signed in to change notification settings - Fork 6
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.
Insert into the modules
array.
-
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.
-
{interface}
-> The name of the interface. -
{addr}
-> The local IP given to that interface.
[localip]
title = "Local IP ({interface})"
format = "{addr}"