forked from Shinonome/dots-hyprland
add fallback script for google lens keybind
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
grim -g "$(slurp)" /tmp/image.png
|
||||
imageLink=$(curl -sF files[]=@/tmp/image.png 'https://uguu.se/upload' | jq -r '.files[0].url')
|
||||
xdg-open "https://lens.google.com/uploadbyurl?url=${imageLink}"
|
||||
rm /tmp/image.png
|
||||
Reference in New Issue
Block a user