dotfiles/scripts/record

4 lines
169 B
Text
Raw Permalink Normal View History

2024-11-30 21:52:04 +01:00
#!/bin/sh
[[ ! -d ~/videos/records ]] && mkdir ~/videos/records
ffmpeg -f x11grab -s 1920x1080 -i :0.0 -f pulse -i 2 ~/videos/records/$(date +"%H-%M-%S__%d-%m-%y").mp4