cswimr/home
Archived
Template
1
0
Fork 0
This repository has been archived on 2024-11-16. You can view files and clone it, but cannot push or open issues or pull requests.
home/.local/bin/spectacle-screenshot

12 lines
256 B
Text
Raw Permalink 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