Skip to content

k1LoW/connected

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

connected GitHub release

🔌 Watch your MacBook connection ⚡

Usage

Watch power cable connection:

$ connected watch -- say "Power cable disconnected."

or use --command (-c)

$ connected watch -c 'osascript -e "set Volume 10"; say -v Alex "Power cable disconnected."'

Watch Wi-Fi connection:

$ connected watch --wifi -- say "Wi-Fi disconnected."

Watch Bluetooth devices connection:

$ connected watch --bluetooth -- sh ./twilio_call.sh

Install

homebrew tap:

$ brew install k1LoW/tap/connected

manually:

Download binany from releases page

go get:

$ go get github.com/k1LoW/connected