Filter binary clipboard content by checking for PNG header/null bytes wl-paste --type text/plain doesn't match text/plain;charset=utf-8 which some text hookers use. Instead, read any type and skip content that looks binary (PNG magic byte 0x89 or null bytes).