From 1942ac68dc4ba9227c4523e8ed99975ae4b5f806 Mon Sep 17 00:00:00 2001 From: Brosseau Valentin Date: Fri, 22 Aug 2025 14:10:55 +0200 Subject: [PATCH] Add missing package for Intel Graphics Card based device (#910) * Add missing package for Intel Graphics Card based device * Add migration to add the missing package --- install/desktop/desktop.sh | 2 +- migrations/1755548643.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 migrations/1755548643.sh diff --git a/install/desktop/desktop.sh b/install/desktop/desktop.sh index 45d89321..83d1b06c 100644 --- a/install/desktop/desktop.sh +++ b/install/desktop/desktop.sh @@ -9,7 +9,7 @@ yay -S --noconfirm --needed \ omarchy-chromium-bin # Add screen recorder based on GPU -if lspci | grep -qi 'nvidia'; then +if lspci | grep -Eqi 'nvidia|intel.*graphics'; then yay -S --noconfirm --needed wf-recorder else yay -S --noconfirm --needed wl-screenrec diff --git a/migrations/1755548643.sh b/migrations/1755548643.sh new file mode 100644 index 00000000..eb8ada50 --- /dev/null +++ b/migrations/1755548643.sh @@ -0,0 +1,5 @@ +echo "Install wf-recorder for intel based device" + +if lspci | grep -Eqi 'nvidia|intel.*graphics'; then + yay -S --noconfirm --needed wf-recorder +fi