Taking screenshots with grim and slurp:
~/.config/wayfire.ini
[command]
binding_screenshot = KEY_PRINT
command_screenshot = grim $(date '+%F_%T').webp
binding_screenshot_interactive = <shift> KEY_PRINT
command_screenshot_interactive = slurp | grim -g - $(date '+%F_%T').webp
You
can also use wl-clipboard in
combination with grim and slurp capture
a screenshot to clipboard. Put this
entry in [command] section.
binding_screenshot_clip = <super> <ctrl> KEY_S
command_screenshot_clip = grim -g \"$(slurp)" - | wl-copy
See Command for more information.