https://github.com/jayu/free-disk-space-widget
https://github.com/jayu/free-disk-space-widget
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jayu/free-disk-space-widget
- Owner: jayu
- Created: 2025-12-07T17:21:04.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-12-10T19:12:13.000Z (7 months ago)
- Last Synced: 2026-06-01T23:30:24.801Z (about 1 month ago)
- Language: Go
- Size: 141 KB
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Free-disk-space-widget
Simple MacOS app to show free disk space in menubar.

## 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
```