3 releases
Uses new Rust 2024
| 0.1.3 | Mar 19, 2026 |
|---|---|
| 0.1.1 | Mar 19, 2026 |
| 0.1.0 | Mar 19, 2026 |
#44 in macOS and iOS APIs
11KB
90 lines
sketchytop
A minimal sketchybar plugin written in rust that shows basic performance stats.
Designed for SketchyBar.
Features
- High Performance: Polls system stats with near-zero overhead.
- Dynamic Colors: Labels change color (Green/Orange/Red) based on resource usage and latency.
- Network Latency: Real-time ping monitoring to your preferred target.
- Configurable: Easily adjust update intervals and item names.
- Minimalistic: Focused on delivering high-signal information (CPU %, RAM GB, and Ping).
Installation
Via Cargo
cargo install sketchytop
From Source
git clone https://github.com/mackrus/sketchytop.git
cd sketchytop
cargo build --release
The binary will be located at target/release/sketchytop.
Usage
Add the following to your sketchybarrc:
# Start the helper
/path/to/sketchytop --interval 1000 &
Options
-i, --interval <INTERVAL> Update interval in milliseconds [default: 1000]
--ram-item <RAM_ITEM> RAM item name in SketchyBar [default: ram]
--cpu-item <CPU_ITEM> CPU item name in SketchyBar [default: cpu.percent]
--net-item <NET_ITEM> Network item name in SketchyBar [default: network.latency]
--ping-target <PING_TARGET> Ping target [default: 1.1.1.1]
-h, --help Print help
-V, --version Print version
License
MIT
Dependencies
~11–18MB
~245K SLoC