For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/X11:Wayland/openSUSE_Tumbleweed/X11:Wayland.repo
zypper refresh
zypper install grim
For openSUSE Slowroll run the following as root:
zypper addrepo https://download.opensuse.org/repositories/X11:Wayland/openSUSE_Slowroll/X11:Wayland.repo
zypper refresh
zypper install grim
For 15.6 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/X11:Wayland/15.6/X11:Wayland.repo
zypper refresh
zypper install grim
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/X11:Wayland/15.5/X11:Wayland.repo
zypper refresh
zypper install grim
For 15.4 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/X11:Wayland/15.4/X11:Wayland.repo
zypper refresh
zypper install grim