This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# A simple plugin for xbar to print the interface you are conntected to the internet with. | |
# See: https://github.com/matryer/xbar and https://xbarapp.com/ | |
# Probably could be a plugin in xbar repo, TBD. | |
# Use case - sometimes my mac uses wifi when it shoudl use ethernet. | |
# Instructions: | |
# Name `ethernet_or_wifi.5m.sh` | |
# chmod +x it |