Skip to content

Commit

Permalink
Add all-in-one
Browse files Browse the repository at this point in the history
Cleanshot introduced "all-in-one" mode in their
4.2 release. Here, we add it to the workflow too.
Here's a video showing all-in-one in action:
https://www.youtube.com/watch?v=nZsyNyzSAVw

Authored by: Mun Hou Wong @munhouiani
  • Loading branch information
munhouiani authored Jun 10, 2022
1 parent 10798ed commit c9b87b6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

### Requiremens
- [Alfred 4](https://alfredapp.com/)
- [CleanShot X](https://cleanshot.com/) (version `3.8.1` or above)
- [CleanShot X](https://cleanshot.com/) (version `4.2` or above)

### Features
- Capture Area
Expand Down
Binary file modified icons.sketch
Binary file not shown.
Binary file added icons/all-in-one.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions items.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ fi
cat <<EOF
{
"items": [
{
"title": "All in One",
"subtitle": "All in One",
"arg": "all-in-one",
"icon": {
"path": "icons/all-in-one.png"
},
"uid": "all-in-one"
},
{
"title": "Capture Area",
"subtitle": "Take a screenshot of a specific area on your screen.",
Expand Down
3 changes: 3 additions & 0 deletions scripts/all-in-one.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

open -g "cleanshot://all-in-one"

0 comments on commit c9b87b6

Please sign in to comment.