diff --git a/cs.py b/cs.py
index b9db477..b6bb30d 100644
--- a/cs.py
+++ b/cs.py
@@ -168,5 +168,19 @@ def listitems(fmt='png',num=1):
'dest_dir': dest_dir,
'default_format': default_format
}
-output = { "variables": variables, "skipknowledge": True, "items": items }
+
+items.insert(0, {
+ "title": "Grid View",
+ "subtitle": "Display results in enlarged Grid View",
+ "arg": "",
+ "icon": { "path": "grid.png" },
+ "variables": { "action": "grid" }
+})
+
+output = {
+ "variables": variables,
+ "skipknowledge": True,
+ "items": items
+}
+
json.dump(output, sys.stdout)
diff --git a/grid.png b/grid.png
new file mode 100644
index 0000000..8f1ef1d
Binary files /dev/null and b/grid.png differ
diff --git a/info.plist b/info.plist
index 68ce727..847bc54 100644
--- a/info.plist
+++ b/info.plist
@@ -334,19 +334,6 @@
- 8C1ABC6C-1ED1-4959-BAE0-E1027F44CBEF
-
-
- destinationuid
- 395E6EB2-E24E-42B0-891C-2AE7E16160F2
- modifiers
- 0
- modifiersubtext
-
- vitoclose
-
-
-
9D05394A-A5F5-4A2B-8AA7-3C06528411D3
@@ -531,6 +518,18 @@
vitoclose
+
+ destinationuid
+ 395E6EB2-E24E-42B0-891C-2AE7E16160F2
+ modifiers
+ 0
+ modifiersubtext
+
+ sourceoutputuid
+ 2F385C67-1D18-4D25-8AA7-EF492F9A4E7B
+ vitoclose
+
+
destinationuid
E30762D4-CD07-433B-8B2D-AD06552A2225
@@ -716,55 +715,6 @@
version
2
-
- config
-
- alfredfiltersresults
-
- alfredfiltersresultsmatchmode
- 2
- argumenttreatemptyqueryasnil
-
- argumenttrimmode
- 0
- argumenttype
- 1
- escaping
- 0
- keyword
- {var:kw_trigger}
- queuedelaycustom
- 3
- queuedelayimmediatelyinitially
-
- queuedelaymode
- 0
- queuemode
- 1
- runningsubtext
- Fetching clipboard items
- script
-
- scriptargtype
- 1
- scriptfile
- cs.py
- subtext
-
- title
- Save images from clipboard history
- type
- 8
- withspace
-
-
- type
- alfred.workflow.input.scriptfilter
- uid
- 71A0EF86-42D5-4C0A-8656-CB6FEAD6F857
- version
- 3
-
config
@@ -826,6 +776,20 @@
uid
B9B2E13B-5FFF-4E6B-98AA-4A849E116285
+
+ inputstring
+ {var:action}
+ matchcasesensitive
+
+ matchmode
+ 0
+ matchstring
+ grid
+ outputlabel
+ grid
+ uid
+ 2F385C67-1D18-4D25-8AA7-EF492F9A4E7B
+
elselabel
@@ -839,6 +803,14 @@
version
1
+
+ type
+ alfred.workflow.utility.junction
+ uid
+ 40ABDE7E-4F25-4424-94E4-9489906D568D
+ version
+ 1
+
config
@@ -856,14 +828,6 @@
version
1
-
- type
- alfred.workflow.utility.junction
- uid
- 40ABDE7E-4F25-4424-94E4-9489906D568D
- version
- 1
-
config
@@ -910,6 +874,55 @@
version
1
+
+ config
+
+ alfredfiltersresults
+
+ alfredfiltersresultsmatchmode
+ 2
+ argumenttreatemptyqueryasnil
+
+ argumenttrimmode
+ 0
+ argumenttype
+ 1
+ escaping
+ 0
+ keyword
+ {var:kw_trigger}
+ queuedelaycustom
+ 3
+ queuedelayimmediatelyinitially
+
+ queuedelaymode
+ 0
+ queuemode
+ 1
+ runningsubtext
+ Fetching clipboard items
+ script
+
+ scriptargtype
+ 1
+ scriptfile
+ cs.py
+ subtext
+
+ title
+ Save images from clipboard history
+ type
+ 8
+ withspace
+
+
+ type
+ alfred.workflow.input.scriptfilter
+ uid
+ 71A0EF86-42D5-4C0A-8656-CB6FEAD6F857
+ version
+ 3
+
config
@@ -978,27 +991,6 @@
version
1
-
- config
-
- argumenttype
- 1
- keyword
- {var:kw_trigger}
- subtext
- Display results in enlarged Grid View
- text
- Grid View
- withspace
-
-
- type
- alfred.workflow.input.keyword
- uid
- 8C1ABC6C-1ED1-4959-BAE0-E1027F44CBEF
- version
- 1
-
config
@@ -1197,14 +1189,6 @@
version
1
-
- type
- alfred.workflow.utility.junction
- uid
- CCD4FC35-EA9E-47A0-97D7-123CE12B9F47
- version
- 1
-
config
@@ -1218,6 +1202,14 @@
version
1
+
+ type
+ alfred.workflow.utility.junction
+ uid
+ CCD4FC35-EA9E-47A0-97D7-123CE12B9F47
+ version
+ 1
+
config
@@ -1544,9 +1536,9 @@ https://www.alfredforum.com/topic/14400-clipsaver-save-images-from-clipboard-his
71A0EF86-42D5-4C0A-8656-CB6FEAD6F857
xpos
- 45
+ 35
ypos
- 170
+ 200
7D984E52-7568-4C03-B70F-92EFA7067021
@@ -1557,13 +1549,6 @@ https://www.alfredforum.com/topic/14400-clipsaver-save-images-from-clipboard-his
ypos
505
- 8C1ABC6C-1ED1-4959-BAE0-E1027F44CBEF
-
- xpos
- 45
- ypos
- 475
-
9D05394A-A5F5-4A2B-8AA7-3C06528411D3
xpos
@@ -1659,7 +1644,7 @@ https://www.alfredforum.com/topic/14400-clipsaver-save-images-from-clipboard-his
F8D8F9B0-A655-474F-9D3C-68866A8D85E6
xpos
- 210
+ 195
ypos
175
@@ -1896,7 +1881,7 @@ https://www.alfredforum.com/topic/14400-clipsaver-save-images-from-clipboard-his
variablesdontexport
version
- 2.5.0
+ 2.5.1
webaddress
https://github.com/luckman212/alfred_clipsaver_workflow