mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00

* use wf-recorder instead of wl-screenrec wl-screenrec does not support NVIDIA drivers as of now * install wf-recorder and migration for it * use wl-screenrec for non-nvidia and wf-recorder otherwise * useless comment * only use one of the screen recording features
12 lines
295 B
Bash
12 lines
295 B
Bash
echo "Install wf-recorder for screen recording for nvidia"
|
|
|
|
if [ -n "$(lspci | grep -i 'nvidia')" ]; then
|
|
if ! command -v wf-recorder &>/dev/null; then
|
|
yay -S --noconfirm --needed wf-recorder
|
|
fi
|
|
|
|
if command -v wl-screenrec &>/dev/null; then
|
|
yay -R --noconfirm wl-screenrec
|
|
fi
|
|
fi
|