Skip to content
Show and change your network settings
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
media
screenshots
src
tests
.gitignore
.travis.yml
LICENSE.md
README.md
icon.png
info.plist

README.md

network Alfred Network Workflow Build Status

Alfred workflow that can show and change your network settings: Wi-Fi, Ethernet, VPN, DNS, etc.

This is a collection of the functionalities of already existing network-oriented workflows that I found half-baked or stalled. Improved on performance, usability and details.

Install

Go to Releases. Under assets for the latest release download Network.alfredworkflow. Once downloaded, double click the file and it will show up in Alfred.

Usage

  • Type wifi to show Wi-Fi info and enable/disable.
  • Type eth to show ethernet info (if connected).
  • Type wifilist to scan for Wi-Fi hotspots.
  • Type vpn to list configured VPNs and connect.
  • Type dns to list and change DNS settings.

alfred-wifi-workflow-wifi alfred-wifi-workflow-wifilist

Requires Alfred 3 and Powerpack for installing this extension. Might behave differently on macOS versions older than 10.7 Lion. This workflow is primarily implemented in Bash with a little help from AppleScript.

Tests

bats is used for automatic testing of Bash functionality. Install with brew install bats using brew.

Run tests: bats tests

To Do

  • Basic functionality
  • Unit tests
  • Mark saved networks with a star
  • Adjust Wi-Fi icon according to strength
  • Ethernet support
  • VPN list
  • Travis CI build
  • DNS switcher using networksetup -setdnsservers
  • Connect WiFi AP using AppleScript
  • Sort APs (improve!)
  • Filter APs on-the-fly, but only scan once
  • Use optional parameters for unit tests
  • Bluetooth list

Credits

Contributions, bug reports and feature requests are very welcome.

    - Martin

You can’t perform that action at this time.