typo
a tiny bit more efficient
print unknown if xprop cannot find the id