#!/bin/sh # Take a screenshot dir=~/Downloads/temp (cd $dir && wf-recorder -g "$(slurp)") xdg-open $dir