We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e6ddf5 commit 4158966Copy full SHA for 4158966
bin/omarchy-cmd-screenrecord
@@ -17,7 +17,7 @@ AUDIO=$([[ $2 == "audio" ]] && echo "--audio")
17
start_screenrecording() {
18
filename="$OUTPUT_DIR/screenrecording-$(date +'%Y-%m-%d_%H-%M-%S').mp4"
19
20
- if lspci | grep -Eqi 'nvidia|intel.*graphics'; then
+ if lspci | grep -qi 'nvidia'; then
21
wf-recorder $AUDIO -f "$filename" -c libx264 -p crf=23 -p preset=medium -p movflags=+faststart "$@" &
22
else
23
wl-screenrec $AUDIO -f "$filename" --ffmpeg-encoder-options="-c:v libx264 -crf 23 -preset medium -movflags +faststart" "$@" &
0 commit comments