Update CLI to match the new GUI feature set
Application Options:
-c, --clipboard Send the grab directly to the clipboard
-w, --window Grab a window instead of the entire screen
-a, --area Grab an area of the screen instead of the entire screen
-b, --include-border Include the window border with the screenshot
-B, --remove-border Remove the window border from the screenshot
-p, --include-pointer Include the pointer with the screenshot
-d, --delay=seconds Take screenshot after specified delay [in seconds]
-e, --border-effect=effect Effect to add to the border (shadow, border, vintage or none)
-i, --interactive Interactively set options
-f, --file=filename Save screenshot directly to this file
--version Print version information and exit
--display=DISPLAY X display to use
Some of these options aren't present in GUI anymore. Specifically:
-
-b, --include-border
,-B, --remove-border
: window borders aren't super relevant anymore now that most windows are CSD (that includes all non-XWayland windows on Wayland) and has been removed (see !7 (merged)) -
-e, --border-effect=effect
: effects were removed (See !7 (merged), #79 (closed), !25 (merged), mutter#1110 (closed))
Despite that, nothing changed in CLI because I'm not sure if we can do that without breaking scripts relying on those options.
See also #27.
Edited by Alice Mikhaylenko