dotfiles/home/default/scripts/record-screen

7 lines
105 B
Bash
Executable File

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