Can I use viewport modes as driver variable?
In 2.90, I can right-click on the viewport shading buttons and select &quot;copy as new driver&quot;. Then I can right-click on a property and select &quot;paste driver&quot;. So, it looks like the functionality exists. But, the variable (named shading.type) seems to always read as zero, so maybe the function doesn't actually work in this version.