changed a lot of things.

This commit is contained in:
Zastian Pretorius
2022-10-22 21:20:30 +01:00
parent f4672b5a63
commit 5f4363917c
6 changed files with 80 additions and 12 deletions

View File

@@ -11,4 +11,4 @@ cd $DIR
NAME=$(rofi -dmenu -p "Name of the video")
cd ..
# record the screen with wf-recorder
wf-recorder --device=/dev/dri/renderD128 --audio=alsa_output.pci-0000_05_00.6.analog-stereo.monitor --file=$DIR/$NAME
wf-recorder --device=/dev/dri/renderD128 --audio=alsa_output.pci-0000_05_00.6.analog-stereo.monitor --file=$DIR/$NAME.mp4

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env sh
#run in the background
yes | cat >> test.txt &
sleep 10
killall yes
#show the size of test.txt in GB
du -b test.txt
rm test.txt