Revert "add org-download and config"

This reverts commit 09167cd5c42916472115b6fa0fb2a36ebbefa24d.
This commit is contained in:
cho
2023-09-28 20:09:27 +07:00
parent 8a61a535b9
commit f2aa8f935c
3 changed files with 10 additions and 45 deletions

View File

@ -1,10 +0,0 @@
#!/bin/sh
wl-paste -t image > /tmp/convert-paste-png.data
#convert /tmp/convert-paste-png.data -format png "$1"
case "$(file --dereference --brief --mime-type -- "/tmp/convert-paste-png.data")" in
image/jpg|image/jpeg) convert /tmp/convert-paste-png.data -format png "$1" ;;
image/png) wl-paste -t image/png > "$1" ;;
esac