Skip to content

Commit 4158966

Browse files
authored
revert: Fix screen recording on Intel graphics #669 (#1559)
* remove intel * remove accidental paste * Update omarchy-cmd-screenrecord
1 parent 1e6ddf5 commit 4158966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/omarchy-cmd-screenrecord

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ AUDIO=$([[ $2 == "audio" ]] && echo "--audio")
1717
start_screenrecording() {
1818
filename="$OUTPUT_DIR/screenrecording-$(date +'%Y-%m-%d_%H-%M-%S').mp4"
1919

20-
if lspci | grep -Eqi 'nvidia|intel.*graphics'; then
20+
if lspci | grep -qi 'nvidia'; then
2121
wf-recorder $AUDIO -f "$filename" -c libx264 -p crf=23 -p preset=medium -p movflags=+faststart "$@" &
2222
else
2323
wl-screenrec $AUDIO -f "$filename" --ffmpeg-encoder-options="-c:v libx264 -crf 23 -preset medium -movflags +faststart" "$@" &

0 commit comments

Comments
 (0)