From 0e6f054a364c6e9e2afc37241dea85438d15a32c Mon Sep 17 00:00:00 2001 From: Mirko Brombin Date: Sat, 24 Sep 2022 19:35:25 +0200 Subject: [PATCH] add display-condition for nvidia --- recipe.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipe.json b/recipe.json index 4778d57..990567f 100644 --- a/recipe.json +++ b/recipe.json @@ -105,6 +105,9 @@ }, "nvidia": { "template": "yes-no", + "display-conditions": [ + "lspci | grep -i '.* vga .* nvidia .*'" + ], "icon": "video-display-symbolic", "title": "NVIDIA® Drivers", "description": "Choose whether to install proprietary NVIDIA drivers for better compatibility and performance.",