wayshot -> grim

parent 4504c26c
......@@ -117,19 +117,19 @@ process_screenshot() {
case "$app" in
"")
if [ "$output_file" = "-" ]; then
wayshot -s "${geometry}" --stdout
grim -g "${geometry}" --stdout
elif [ -n "$output_file" ]; then
wayshot -s "${geometry}" -f "$output_file"
grim -g "${geometry}" "$output_file"
fi
if [ "$COPY" == "true" ]; then
wayshot -s "${geometry}" --stdout | wl-copy
grim -g "${geometry}" - | wl-copy
fi
;;
swappy|satty)
if [ "$output_file" = "-" ]; then
wayshot -s "${geometry}" --stdout | "$app" -f - -o -
grim -g "${geometry}" - | "$app" -f - -o -
else
wayshot -s "${geometry}" --stdout | "$app" -f - -o "${output_file:-}"
grim -g "${geometry}" - | "$app" -f - -o "${output_file:-}"
fi
;;
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment