glurp : oups j'ai mal codé

This commit is contained in:
Ahurac 2024-04-05 19:00:27 +02:00
parent d1ed4ae184
commit 219e75adea

View file

@ -65,11 +65,11 @@ esac
# c* = clip, f* = file # c* = clip, f* = file
case "$2" in case "$2" in
c*) c*)
grim="${grim} -o -" grim="${grim} -"
clipboard="| wl-copy -t image/png" clipboard="| wl-copy -t image/png"
;; ;;
f*) f*)
grim="${grim} -o '$(screenshot_path)'" grim="${grim} '$(screenshot_path)'"
;; ;;
*) error_usage ;; *) error_usage ;;
esac esac