scorpion-26 / gBar

Blazingly fast status bar written with GTK
MIT License
495 stars 20 forks source link

Check nvidia gpu features on init #53

Closed scorpion-26 closed 1 year ago

scorpion-26 commented 1 year ago

When a required feature is not supported, gBar would crash inside the query functions without a way to manually bypass NvidiaGPU. Now NvidiaGPU checks whether all features are supported and disables the module if any throw an error.

Fixes https://github.com/scorpion-26/gBar/issues/52