grimshot(1) | General Commands Manual | grimshot(1) |
grimshot - a helper for screenshots within sway
grimshot [--notify] (copy|save) [TARGET] [FILE] grimshot check grimshot usage
--notify
save
copy
Grimshot is an easy to use screenshot tool for sway. It relies on grim, slurp and jq to do the heavy lifting, and mostly provides an easy to use interface.
A recommended usage pattern is to just bind this to Super+P via sway:
# Screenshots: # Cmd+P: Current window # Cmd+Shift+p: Select area # Cmd+Alt+p Current output # Cmd+Ctrl+p Select a window bindsym Mod4+p exec grimshot save active bindsym Mod4+Shift+p exec grimshot save area bindsym Mod4+Mod1+p exec grimshot save output bindsym Mod4+Ctrl+p exec grimshot save window
grimshot can capture the following named targets:
active
screen
area
window
output
Grimshot will always print the filename of the captured screenshot to stdout.
2020-05-08 |