add --pointer
to spectacle cli opts
This commit is contained in:
parent
4aa652360e
commit
e8da39c822
1 changed files with 2 additions and 2 deletions
|
@ -129,9 +129,9 @@ function spectacle-screenshot {
|
|||
trap 'rm -f "$file"' ERR
|
||||
|
||||
if $save_recording; then
|
||||
command spectacle --nonotify --background --record=region --copy-image --output "$file"
|
||||
command spectacle --nonotify --background --record=region --pointer --copy-image --output "$file"
|
||||
else
|
||||
command spectacle --nonotify --background --region --copy-image --output "$file"
|
||||
command spectacle --nonotify --background --region --pointer --copy-image --output "$file"
|
||||
fi
|
||||
[ ! -s "$file" ] && return 1
|
||||
|
||||
|
|
Reference in a new issue