The single "-" is correct. From "man grim" ... I have this in my config which adds a timestamp to the saved filename.PeterO
Code:
-g "<x>,<y> <width>x<height>" Set the region to capture, in layout coordinates. If set to -, read the region from the standard input instead.
Code:
command_screenshot_interactive = slurp | grim -g - $(date '+%F_%T').png
Statistics: Posted by PeterO — Thu Jun 20, 2024 8:12 am