Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/skibz/pingdicate

get visual indication of average latency to host(s) in your menu bar
https://github.com/skibz/pingdicate

anybar macos osx utility

Last synced: 2 months ago
JSON representation

get visual indication of average latency to host(s) in your menu bar

Awesome Lists containing this project

README

        

# pingdicate

> get visual indication of average latency to host(s) in your menu bar

##### install

ensure you've got a copy of [anybar](https://github.com/tonsky/AnyBar) in your `/Applications` directory, then...

```bash
npm install --global pingdicate
```

as a `postinstall` script, pingdicate's `plist` configuration file will be moved to `~/Library/LaunchAgents` and loaded into `launchctl`. it specifes some default host addresses which you will likely want to override.

to change the host addresses or to specify a path to anybar other than `/Applications/AnyBar.app`, open `~/Library/LaunchAgents/re.gitigno.pingdicate.plist` in a text editor and modify the ip address arguments to the `-h` option in the `ProgramArguments` string section of the file.

if your path to anybar differs from the expected default, add `-a /path/to/your/anybar` in the `ProgramArguments` string.

to apply your changes, run `launchctl unload ~/Library/LaunchAgents/re.gitigno.pingdicate.plist && launchctl load ~/Library/LaunchAgents/re.gitigno.pingdicate.plist` to stop, reload and restart the service.

##### uninstall

```bash
launchctl unload ~/Library/LaunchAgents/re.gitigno.pingdicate.plist && \
mv ~/Library/LaunchAgents/re.gitigno.pingdicate.plist ~/.Trash/
```

to stop, unload and delete the service from `launchctl`.