video_displaydescr(3)
π NAME π
okay bestie, <pink>video_displaydescr</pink> is the function that retrieves a byte block and a hash for identifying a specific display. it's giving βmonitor identity crisis? not on my watchβ energy π
β and yes, we're in the <hotpink>Arcan Lua API</hotpink> house, manual page <pink>video_displaydescr(3)</pink> π«Ά
β¨ SYNOPSIS β¨
string:block, string:hash, table:metadata
video_displaydescr( int:dispid )
π DESCRIPTION π
okay so picture this: you're dealing with multiple-monitors, and you need to track settings, calibration, and other monitor-individual properties. for that you need some kind of identity token, and that's literally what this function hands you. π₯
it returns the platform identity one, which for most cases should be an EDID formatted binary blob β along with a hash value of the contents of the block, for when user-readable names are not needed but a (hopefully) unique identifier is. no cap, that's the whole vibe π
and if the platform is capable of parsing the block, higher-level information may be available via the returned <cyan>metadata</cyan> table. these are display, platform, and OS dependent, bestie. possible keys include:
'error''make''model''serial'
that's it, that's the metadata menu πΈ
π₯ EXAMPLE π₯
function video_displaydescr0()
warning( video_displaydescr(0) );
end
π SEE ALSO π
<purple>vidsys</purple>β go check it out, bestie π
mwah π β this cutie comes from the <purple>vidsys</purple> source/version, dated <purple>October 2026</purple>, and it's the <pink>video_displaydescr(3)</pink> manual page. slay, bye π«Άβ¨
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms