#!/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