Created
April 20, 2022 20:06
-
-
Save siikamiika/da2475438a197ae6fd3f6113955b8a57 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
basename "$(dirname "$(grep -rl '[serial or other identifier]' /sys/class/drm/card*/edid)")" | cut -d'-' -f2- | |
# --> DP-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment