-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
info.plist
179 lines (160 loc) · 4.41 KB
/
info.plist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>bundleid</key>
<string>com.alexmartinfr.alfred-livewire-docs</string>
<key>connections</key>
<dict>
<key>1B63F30F-2C4C-42EB-87EE-0E39722DFCA6</key>
<array>
<dict>
<key>destinationuid</key>
<string>1B9170F0-DEE3-411E-9471-FA00A0A5098F</string>
<key>modifiers</key>
<integer>0</integer>
<key>modifiersubtext</key>
<string></string>
<key>vitoclose</key>
<false/>
</dict>
</array>
</dict>
<key>createdby</key>
<string>Alex Martin</string>
<key>description</key>
<string>An ultra-fast Livewire docs search workflow</string>
<key>disabled</key>
<false/>
<key>name</key>
<string>Livewire Docs</string>
<key>objects</key>
<array>
<dict>
<key>config</key>
<dict>
<key>browser</key>
<string></string>
<key>spaces</key>
<string></string>
<key>url</key>
<string>{query}</string>
<key>utf8</key>
<true/>
</dict>
<key>type</key>
<string>alfred.workflow.action.openurl</string>
<key>uid</key>
<string>1B9170F0-DEE3-411E-9471-FA00A0A5098F</string>
<key>version</key>
<integer>1</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>alfredfiltersresults</key>
<false/>
<key>alfredfiltersresultsmatchmode</key>
<integer>0</integer>
<key>argumenttreatemptyqueryasnil</key>
<false/>
<key>argumenttrimmode</key>
<integer>0</integer>
<key>argumenttype</key>
<integer>0</integer>
<key>escaping</key>
<integer>4</integer>
<key>keyword</key>
<string>lw</string>
<key>queuedelaycustom</key>
<integer>3</integer>
<key>queuedelayimmediatelyinitially</key>
<true/>
<key>queuedelaymode</key>
<integer>0</integer>
<key>queuemode</key>
<integer>1</integer>
<key>runningsubtext</key>
<string>Searching docs for "{query}"...</string>
<key>script</key>
<string>if [ -f "/opt/homebrew/bin/php" ]; then
/opt/homebrew/bin/php livewire.php "{query}"
elif [ -f "/usr/local/bin/php" ]; then
/usr/local/bin/php livewire.php "{query}"
elif [ -f "/usr/bin/php" ]; then
/usr/bin/php livewire.php "{query}"
fi</string>
<key>scriptargtype</key>
<integer>0</integer>
<key>scriptfile</key>
<string></string>
<key>subtext</key>
<string>Search the Livewire docs...</string>
<key>title</key>
<string>Livewire Docs</string>
<key>type</key>
<integer>0</integer>
<key>withspace</key>
<true/>
</dict>
<key>type</key>
<string>alfred.workflow.input.scriptfilter</string>
<key>uid</key>
<string>1B63F30F-2C4C-42EB-87EE-0E39722DFCA6</string>
<key>version</key>
<integer>3</integer>
</dict>
</array>
<key>readme</key>
<string># Laravel Livewire Docs Workflow for Alfred
An ultra-fast Laravel Livewire docs search workflow for Alfred.
## Installation
1. Download the latest version of the workflow:
https://github.com/AlexMartinFR/alfred-livewire-docs/releases/download/v0.1.2/livewire-docs.alfredworkflow
2. Install the workflow by double-clicking the `.alfredworkflow` file
3. You can add the workflow to a category, then click "Import" to finish importing. You'll now see the workflow listed in the left sidebar of your Workflows preferences pane.
## Usage
Just type `lw` followed by your search query:
```
lw <query>
lw component
```
Either press `⌘Y` to Quick Look the result, or press `<enter>` to open it in your web browser.
## Versions
Edit the workflow environment variable to query the documentation for a different Livewire version.
Currently available versions:
1.x
2.x
## Credits
This workflow is based on Till Kruss' Laravel Docs workflow:
https://github.com/tillkruss/alfred-laravel-docs</string>
<key>uidata</key>
<dict>
<key>1B63F30F-2C4C-42EB-87EE-0E39722DFCA6</key>
<dict>
<key>xpos</key>
<integer>225</integer>
<key>ypos</key>
<integer>150</integer>
</dict>
<key>1B9170F0-DEE3-411E-9471-FA00A0A5098F</key>
<dict>
<key>xpos</key>
<integer>535</integer>
<key>ypos</key>
<integer>150</integer>
</dict>
</dict>
<key>variables</key>
<dict>
<key>branch</key>
<string>2.x</string>
</dict>
<key>variablesdontexport</key>
<array/>
<key>version</key>
<string>0.1.3</string>
<key>webaddress</key>
<string>https://github.com/AlexMartinFR/alfred-livewire-docs/</string>
</dict>
</plist>