LinuxCommandLibrary

i3-scrot

Wrapper script around the screenshot utility `scrot` for the i3 window manager.

TLDR

Capture a screenshot of the whole screen and save it to the default directory

$ i3-scrot
copy


Capture a screenshot of the active window
$ i3-scrot --window
copy


Capture a screenshot of a specific rectangular selection
$ i3-scrot --select
copy


Capture a screenshot of the whole screen and copy it to the clipboard
$ i3-scrot --desk-to-clipboard
copy


Capture a screenshot of the active window and copy it to the clipboard
$ i3-scrot --window-to-clipboard
copy


Capture a screenshot of a specific selection and copy it to the clipboard
$ i3-scrot --select-to-clipboard
copy


Capture a screenshot of the active window after a delay of 5 seconds
$ i3-scrot --window [5]
copy

Copied to clipboard