After digging around in the #Linux sysfs, I found /sys/class/typec/orientation T...

@shapr@recurse.social

After digging around in the #Linux sysfs, I found /sys/class/typec/orientation

That is, the Linux sysfs knows whether your dock or external monitor's cable is plugged in "normal" or "reverse".

I also found a nice utility for rotating the display on Wayland: github.com/artizirk/wdisplays

These ingredients could produce a marvelous practical joke.