12 lines
256 B
Text
12 lines
256 B
Text
|
#!/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
|