Disable the right edge of the trackpad?

Does anyone know if it’s possible to disable a strip along the right edge of the trackpad?

Because of the position of the trackpad, my palm rests on it while typing, and it sends the cursor all over the place, and inadvertently selects things on the screen.

If I could disable the right 10% of the trackpad, I think this would solve my problem.

Edit: BTW, I am running Hyprland.

According to synaptics it should be possible

The perceived physical edges may be adjusted with the AreaLeftEdge, AreaRightEdge, AreaTopEdge, and AreaBottomEdge options

https://www.x.org/archive/X11R7.6/doc/man/man4/synaptics.4.xhtml

You configure this kind of stuff with libinput.

Typically, you want to set disableWhileTyping to prevent this particular issue.