https://github.com/k1low/connected
:electric_plug: Watch your MacBook connection :zap:
https://github.com/k1low/connected
bluetooth macbook macbook-connection power-cable watch wi-fi
Last synced: 6 months ago
JSON representation
:electric_plug: Watch your MacBook connection :zap:
- Host: GitHub
- URL: https://github.com/k1low/connected
- Owner: k1LoW
- License: mit
- Created: 2020-01-18T09:07:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-12T00:53:41.000Z (over 5 years ago)
- Last Synced: 2025-03-29T05:41:34.203Z (6 months ago)
- Topics: bluetooth, macbook, macbook-connection, power-cable, watch, wi-fi
- Language: Go
- Homepage:
- Size: 38.1 KB
- Stars: 11
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# connected [](https://github.com/k1LoW/connected/releases)
:electric_plug: Watch your MacBook connection :zap:
## Usage
**Watch power cable connection:**
``` console
$ connected watch -- say "Power cable disconnected."
```or use `--command (-c)`
``` console
$ connected watch -c 'osascript -e "set Volume 10"; say -v Alex "Power cable disconnected."'
```**Watch Wi-Fi connection:**
``` console
$ connected watch --wifi -- say "Wi-Fi disconnected."
```**Watch Bluetooth devices connection:**
``` console
$ connected watch --bluetooth -- sh ./twilio_call.sh
```## Install
**homebrew tap:**
```console
$ brew install k1LoW/tap/connected
```**manually:**
Download binany from [releases page](https://github.com/k1LoW/connected/releases)
**go get:**
```console
$ go get github.com/k1LoW/connected
```