cswimr/home
Archived
Template
1
0
Fork 0

add --pointer to spectacle cli opts

This commit is contained in:
Seaswimmer 2024-10-22 21:39:31 -04:00
parent 4aa652360e
commit e8da39c822
Signed by: cswimr
GPG key ID: A9C162E867C851FA

View file

@ -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