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

https://github.com/jayu/free-disk-space-widget


https://github.com/jayu/free-disk-space-widget

Last synced: 29 days ago
JSON representation

Awesome Lists containing this project

README

          

# Free-disk-space-widget

Simple MacOS app to show free disk space in menubar.

Free disk space widget

## Build

```bash
go build -ldflags="-s -w" .
```

## Run on login

```bash
./create-autosta-file.sh
```
This creates a `free-disk-space-widget.autostart.plist` file in `~/Library/LaunchAgents/` directory.

Then add the plist to launchctl:

```bash
launchctl load ~/Library/LaunchAgents/free-disk-space-widget.autostart.plist
```

To revert that, remove the plist from launchctl:
```bash
launchctl unload ~/Library/LaunchAgents/free-disk-space-widget.autostart.plist
```