#!/bin/bash SCREENCAST_FILE="$HOME/Videos/$(date +'%Y-%m-%d_%H:%M').mp4" geometry=$(slurp -d -f "%wx%h %x,%y") status=$(pkill -f "wf-recorder" || wf-recorder -f $SCREENCAST_FILE --codec=libx264) notify-send "Screen recording started" -i "$HOME/.config/dunst/icons/record.png" -t 1000