add org-download and config, update other configs

This commit is contained in:
cho
2023-09-28 20:07:42 +07:00
parent d9b03108b1
commit 8a61a535b9
3 changed files with 45 additions and 10 deletions

View File

@ -0,0 +1,10 @@
#!/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