Skip to content
项目

mrodalgaard/alfred-network-workflow

在 GitHub 查看

关于

查看和更改网络设置。

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

network Alfred Network Workflow

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 Latest Release and under Assets download Network.alfredworkflow. Once downloaded, double click the file and it will show up in Alfred.

Or install directly from Alfred Gallery.

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 for primary connection.

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

Limitations

Requires Alfred Powerpack to install this extension.

This workflow might behave differently on macOS versions older than 10.7 Lion. This workflow is primarily implemented in Bash interacting with macOS network cli utils (like networksetup, scutil and airport) with a little help from AppleScript.

Most functionality of this workflow will work without your user being administrator on your machine (see if your user is set as Admin or Standard in "System Settings.app" -> "Users & Groups"), but actions which changes network settings might fail if you are only a standard user.

WIFI / Access Point changes requires your keychain password which is a known limitation Read more.

Tests

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

Run tests: bats tests

Credits

Contributions, bug reports and feature requests are very welcome.

    - Martin

探索相关项目

加载中…