Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add network public ip plugin #210

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ljseng
Copy link

@ljseng ljseng commented May 11, 2023

This plugin shows public IP at TMUX status line.

Color is configurable. Default foreground: cyan and background: dark_gray (inherits existing network plugin color scheme).
Label is configurable. Default empty string.

Sample of plugin working. IP masked for privacy sake.
image

@ljseng ljseng force-pushed the network-public-ip branch 2 times, most recently from 78404c1 to 79027a5 Compare May 11, 2023 16:55
@ljseng ljseng force-pushed the network-public-ip branch from e1e0d7b to 96835e6 Compare May 11, 2023 17:08
@ethancedwards8
Copy link
Member

Nice work. Some questions:

  • Can you add a configuration option to configure the endpoint?
  • How often would this poll the server? This could quickly become network intensive/cpu intensive.
  • How would the program handle an absence of network connection?

Thank you for your contribution.

@ethancedwards8
Copy link
Member

Wanted to bump these requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants