{"schema_version":1,"metadata":{"branch":"current","release":"7.9","architecture":"amd64","generated_at":"2026-09-09T04:04:41.004595+00:00","source_url":"https://cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/sqlports-7.55.tgz","source_sha256":"fcdbba1b9df747882aa9bab4af20ebec8dac10655069c90f1cd4145c06e1235e","package_count":12031,"source_kind":"sqlports"},"package":{"name":"grim-1.5.0","path":"wayland/grim","url":"/packages/current/wayland/grim/","comment":"grab images from a Wayland compositor","homepage":"","maintainer":"The OpenBSD ports mailing-list <ports@openbsd.org>","description":"Grab images from a Wayland compositor.\n\nScreenshoot all outputs:\n\n  grim\n\nScreenshoot a specific output:\n\n  grim -o DP-1\n\nScreenshoot a region:\n\n  grim -g \"10,20 300x400\"\n\nSelect a region and screenshoot it:\n\n  grim -g \"$(slurp)\"\n\nUse a custom filename:\n\n  grim $(xdg-user-dir PICTURES)/$(date +'%s_grim.png')\n\nGrab a screenshot from the focused window under Sway, using `swaymsg` and\njq:\n\n  grim -g \"$(swaymsg -t get_tree | jq -j '.. | select(.type?) | select(.focused).rect | \"\\(.x),\\(.y) \\(.width)x\\(.height)\"')\"\n\nPick a color, using ImageMagick:\n\n  grim -g \"$(slurp -p)\" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt:-\n","package_architecture":"amd64","stem":"grim","readme":null,"dependencies":[{"path":"graphics/jpeg","type":"library","package_spec":"","url":"/packages/current/graphics/jpeg/"},{"path":"graphics/png","type":"library","package_spec":"","url":"/packages/current/graphics/png/"},{"path":"wayland/wayland","type":"library","package_spec":"","url":"/packages/current/wayland/wayland/"},{"path":"wayland/wayland-protocols","type":"build","package_spec":"","url":"/packages/current/wayland/wayland-protocols/"},{"path":"textproc/scdoc","type":"build","package_spec":"","url":"/packages/current/textproc/scdoc/"},{"path":"devel/meson","type":"build","package_spec":"STEM->=1.12.0v0","url":"/packages/current/devel/meson/"},{"path":"devel/dwz","type":"build","package_spec":"","url":"/packages/current/devel/dwz/"}],"reverse_dependencies":{"count":0,"url":null},"categories":["wayland"],"flavors":[],"only_for_architectures":["aarch64","amd64","arm","i386","mips64","mips64el","powerpc","powerpc64","riscv64","sparc64","alpha","hppa"],"not_for_architectures":[]}}
