Skip to content

Add actnetwork prompt item#30

Open
jose1711 wants to merge 1 commit intoplttn:mainfrom
jose1711:plttn_actnetwork
Open

Add actnetwork prompt item#30
jose1711 wants to merge 1 commit intoplttn:mainfrom
jose1711:plttn_actnetwork

Conversation

@jose1711
Copy link
Copy Markdown

Description

Adds a new _tide_item_actnetwork item that displays the active network connection type using nmcli. Shows distinct Nerd Font icons for WireGuard VPN, GSM/mobile, Wi-Fi, Ethernet, and a fallback icon when no known connection is active. Default colors added to all theme configs (classic, lean, rainbow and their 16-color variants).

Motivation and Context

People who frequently switch between networks (VPN, Wi-Fi, Ethernet, mobile) benefit from seeing the active connection type directly in the prompt.

Screenshots (if appropriate)

obrázok

How Has This Been Tested

  • I have tested using Linux.
  • I have tested using MacOS.

Checklist

  • I am ready to update the wiki accordingly.
  • I have updated the tests accordingly.

@plttn plttn self-assigned this Apr 17, 2026
@plttn plttn force-pushed the plttn_actnetwork branch from 273b620 to 0117c2a Compare April 18, 2026 19:01
@plttn
Copy link
Copy Markdown
Owner

plttn commented Apr 18, 2026

Hey @jose1711, any chance you'd be willing to add a test to the tests folder for this one? If not, I can put something together.

Adds a new _tide_item_actnetwork item that displays the active network connection type using nmcli.
Shows distinct Nerd Font icons for WireGuard VPN, GSM/mobile, Wi-Fi, Ethernet, and a fallback icon
when no known connection is active. Default colors added to all theme configs (classic, lean, rainbow
and their 16-color variants).
@jose1711
Copy link
Copy Markdown
Author

Hey @jose1711, any chance you'd be willing to add a test to the tests folder for this one? If not, I can put something together.

Sure, tests added.

@jose1711 jose1711 closed this Apr 19, 2026
@jose1711 jose1711 reopened this Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants