Don't capture cursor in screenshot. #55
@ -44,12 +44,12 @@ del() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
screenshot() {
|
screenshot() {
|
||||||
if command -v maim >/dev/null 2>&1; then
|
if command -v import >/dev/null 2>&1; then
|
||||||
CMD="maim -ks"
|
|
||||||
elif command -v import >/dev/null 2>&1; then
|
|
||||||
CMD="import png:-"
|
CMD="import png:-"
|
||||||
|
elif command -v maim >/dev/null 2>&1; then
|
||||||
|
CMD="maim -uks"
|
||||||
else
|
else
|
||||||
echo "Neither maim nor import were found. One of these is needed to make screenshots." >&2
|
echo "Neither import (imagemagick) nor maim were found. One of these is needed to make screenshots." >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
FILE=$(mktemp)
|
FILE=$(mktemp)
|
||||||
|
Loading…
Reference in New Issue
Block a user