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
19 lines
425 B
Bash
19 lines
425 B
Bash
#!/bin/bash
|
|
|
|
# Base packages
|
|
PACKAGES="brightnessctl playerctl pamixer wiremix wireplumber \
|
|
fcitx5 fcitx5-gtk fcitx5-qt wl-clip-persist \
|
|
nautilus sushi ffmpegthumbnailer \
|
|
slurp satty \
|
|
mpv evince imv \
|
|
chromium"
|
|
|
|
# Add screen recorder based on GPU
|
|
if [ -n "$(lspci | grep -i 'nvidia')" ]; then
|
|
PACKAGES="$PACKAGES wf-recorder"
|
|
else
|
|
PACKAGES="$PACKAGES wl-screenrec"
|
|
fi
|
|
|
|
yay -S --noconfirm --needed $PACKAGES
|