wayshot -> grim

parent 4504c26c
...@@ -117,19 +117,19 @@ process_screenshot() { ...@@ -117,19 +117,19 @@ process_screenshot() {
case "$app" in case "$app" in
"") "")
if [ "$output_file" = "-" ]; then if [ "$output_file" = "-" ]; then
wayshot -s "${geometry}" --stdout grim -g "${geometry}" --stdout
elif [ -n "$output_file" ]; then elif [ -n "$output_file" ]; then
wayshot -s "${geometry}" -f "$output_file" grim -g "${geometry}" "$output_file"
fi fi
if [ "$COPY" == "true" ]; then if [ "$COPY" == "true" ]; then
wayshot -s "${geometry}" --stdout | wl-copy grim -g "${geometry}" - | wl-copy
fi fi
;; ;;
swappy|satty) swappy|satty)
if [ "$output_file" = "-" ]; then if [ "$output_file" = "-" ]; then
wayshot -s "${geometry}" --stdout | "$app" -f - -o - grim -g "${geometry}" - | "$app" -f - -o -
else else
wayshot -s "${geometry}" --stdout | "$app" -f - -o "${output_file:-}" grim -g "${geometry}" - | "$app" -f - -o "${output_file:-}"
fi fi
;; ;;
esac 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