This document explains how to use the sharpener command‑line tool to control Apple Sharpener at runtime.
# Enable or disable
sharpener on
sharpener off
# Toggle
sharpener toggle
# Set window radius
sharpener -r 40
sharpener --radius=40
# Set dock radius
sharpener -d 20
sharpener --dock-radius=20
# Show current settings
sharpener -s
sharpener --status
# Show version
sharpener -v
sharpener --versionon— Enable window sharpeningoff— Disable window sharpeningtoggle— Toggle window sharpening on/off
-r, --radius <value>— Set the window sharpening radius (integer>= 0)--radius=<value>— Alternative syntax to set window radius-d, --dock-radius <value>— Set the dock radius (integer>= 0)--dock-radius=<value>— Alternative syntax to set dock radius-s, --status— Show current window radius, dock radius, and status (on/off)-v, --version— Show CLI version-h, --help— Show built‑in help
# Set window radius to 0 for sharp (square) corners
sharpener -r 0
# Set dock radius to 15
sharpener -d 15
# Set window radius to 40 and enable immediately
sharpener on && sharpener -r 40
# Query current status
sharpener -s
# Output example:
# Current radius: 40
# Current dock radius: 15
# Status: on
# Show version
sharpener --version
# Output example:
# Apple Sharpener version: 0.1- Targets standard application windows only; menus, popovers, HUD/utility windows are preserved.
- Fullscreen windows use a radius of
0to avoid visual artifacts. - Changes apply live across open windows; no app relaunch required.
- Enabled state and radius persist across apps via system notifications.
- The installer places the CLI at
/usr/local/bin/sharpener. - If building from source via
make install, the CLI is installed to the same path.
- Run
sharpener -sto confirm status and radius. - Ensure system requirements from the main README are met.