home/.local/bin/spectacle-screenshot

12 lines
256 B
Text
Raw Normal View History

#!/usr/bin/zsh
# This file exists so that the `spectacle-screenshot` function can be easily called from a desktop shortcut
source ~/.zshc/func.zsh
if [[ -z "${1}" ]]; then
readonly record=false
else
readonly record=$1
fi
spectacle-screenshot $record