Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kjagiello/wifi
Displays the SSID of the WiFi network you are connected to.
https://github.com/kjagiello/wifi
fish-shell macos tmux tool wifi zsh
Last synced: 3 days ago
JSON representation
Displays the SSID of the WiFi network you are connected to.
- Host: GitHub
- URL: https://github.com/kjagiello/wifi
- Owner: kjagiello
- License: mit
- Created: 2017-07-29T21:04:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-15T10:28:55.000Z (over 7 years ago)
- Last Synced: 2025-01-22T15:38:08.793Z (7 days ago)
- Topics: fish-shell, macos, tmux, tool, wifi, zsh
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wifi
![demo](https://user-images.githubusercontent.com/74944/28748245-1c306b8c-74b3-11e7-8fb7-3aa2ff60a5b0.png)
macOS-only command line tool displaying the name of the WiFi network your are
currently connected to. Works great in tmux. Probably compatible with your
favorite shell.## Usage
```
general:
-t output tmux status bar format
-z output zsh prompt format
-s WiFi symbol default: none
-d WiFi network device default: en0
-n no colors
colors: tmux zsh
-g connected default: 1;32 | green | 64
-m disconnected default: 1;33 | yellow | 136
-w error default: 0;31 | red | 160
```## Install
### Homebrew
```bash
brew tap kjagiello/wifi
brew install wifi
```### DIY
```bash
git clone https://github.com/kjagiello/wifi.git
cd wifi
make install
```## Sample tmux config
```
set -g status-right "#(wifi -t -g#77d656 -w#d94a4a -m#d7d682) │ #(date +%%T)"
```## "Cool, but I want the battery thingy from the screenshot"
[![Battery](https://user-images.githubusercontent.com/74944/28754971-d705ced2-7550-11e7-8aea-8665265467e2.png)](https://github.com/Goles/Battery)