screenshot

command
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Command screenshot captures a screenshot of a display or window using the ScreenCaptureKit framework and saves it as a PNG file.

Usage:

screenshot                    # capture the main display
screenshot -o out.png         # save to file
screenshot -window-id 12345   # capture a specific window
screenshot -display-id 1      # capture a specific display
screenshot -list              # list available windows and displays

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL