Skip to content

Commit

Permalink
Add "Pin from Clipboard" action
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-pennyworth committed May 31, 2021
1 parent 82ab079 commit b95006a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ open -g "cleanshot://$1"</string>
<key>variablesdontexport</key>
<array/>
<key>version</key>
<string>0.0.2</string>
<string>0.0.3</string>
<key>webaddress</key>
<string>https://github.com/mr-pennyworth/alfred-cleanshot</string>
</dict>
Expand Down
9 changes: 9 additions & 0 deletions items.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ cat <<EOF
},
"uid": "open-from-clipboard"
},
{
"title": "Pin to the Screen from Clipboard",
"subtitle": "Pin the image on clipboard to the screen.",
"arg": "share-extension-pin?filepath=$imgpath",
"icon": {
"path": "icons/pin-clipboard.png"
},
"uid": "pin-from-clipboard"
},
EOF
fi

Expand Down

0 comments on commit b95006a

Please sign in to comment.