Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ea/netlok
MacOS widget to switch between network locations
https://github.com/ea/netlok
Last synced: 27 days ago
JSON representation
MacOS widget to switch between network locations
- Host: GitHub
- URL: https://github.com/ea/netlok
- Owner: ea
- Created: 2021-12-02T04:05:22.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-02T04:10:09.000Z (about 3 years ago)
- Last Synced: 2024-08-03T09:03:14.338Z (4 months ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Mac-Menubar-Megalist - Netlok
README
# Simple Network Location swithing widget
I usually have a few aditional NICs on my mac and am constantly switching between different network confirugations. Network settings menu on macOS lets you define "locations" for which you can configure different settings for different interfaces. Once locations are set up the way you like them , switching between them doesn't requrie elevated privileges which means less password prompts!
This simple widget just uses `networksetup` to switch between different locations, shows the current one and displays external IP address if available.
It uses `rumps` package and is otherwise pretty short and naive.Make it into an app via `py2app` by typing `make` and then you can add it to "login items" so it's run on startup.