Commit a1febe96 authored by boyska's avatar boyska

remove unnecessary filter on VGA

filtering with -d::0300 is enough
parent b8711a2f
......@@ -110,12 +110,7 @@ def main():
args = p.parse_args()
output = run_lspci(["-d::0300", "-nn"])
parsed = parse_lspci(output)
gpus = [
for device in parsed
if "Class" in device and device["Class"].startswith("VGA")
gpus = parse_lspci(output)
gpus = sort_gpus(gpus)
msg = format_gpus(gpus)
cmd = ["/bin/plymouth", "display-message", "--text", msg]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment