forked from skydiver/alfred-browsers-profiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
info.plist
164 lines (154 loc) · 4.29 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
<?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>dev.skydiver.alfred.browsers-profiles</string>
<key>category</key>
<string>Internet</string>
<key>connections</key>
<dict>
<key>35B0D4F6-552C-48E6-B893-714093B535CE</key>
<array/>
<key>89DDAF9B-84D4-40E8-A98B-32FCF1472372</key>
<array>
<dict>
<key>destinationuid</key>
<string>35B0D4F6-552C-48E6-B893-714093B535CE</string>
<key>modifiers</key>
<integer>0</integer>
<key>modifiersubtext</key>
<string></string>
<key>vitoclose</key>
<false/>
</dict>
</array>
</dict>
<key>createdby</key>
<string>Martín M.</string>
<key>description</key>
<string>Open your browsers profiles from Alfred</string>
<key>disabled</key>
<false/>
<key>name</key>
<string>Browsers Profiles</string>
<key>objects</key>
<array>
<dict>
<key>config</key>
<dict>
<key>alfredfiltersresults</key>
<true/>
<key>alfredfiltersresultsmatchmode</key>
<integer>0</integer>
<key>argumenttreatemptyqueryasnil</key>
<true/>
<key>argumenttrimmode</key>
<integer>0</integer>
<key>argumenttype</key>
<integer>1</integer>
<key>escaping</key>
<integer>102</integer>
<key>keyword</key>
<string>bp</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></string>
<key>script</key>
<string>./node_modules/.bin/run-node index.js "$1"</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
<string>main.py</string>
<key>subtext</key>
<string>Direct launch of browser profile</string>
<key>title</key>
<string>Browsers Profiles</string>
<key>type</key>
<integer>8</integer>
<key>withspace</key>
<true/>
</dict>
<key>type</key>
<string>alfred.workflow.input.scriptfilter</string>
<key>uid</key>
<string>89DDAF9B-84D4-40E8-A98B-32FCF1472372</string>
<key>version</key>
<integer>3</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>concurrently</key>
<false/>
<key>escaping</key>
<integer>102</integer>
<key>script</key>
<string>read browser profile <<< "{query}"
if [[ "$browser" == "CHROME_CANARY" ]]; then
open -n -a "Google Chrome Canary" --args --profile-directory="$profile"
elif [[ "$browser" == "BRAVE" ]]; then
open -n -a "Brave Browser" --args --profile-directory="$profile"
elif [[ "$browser" == "CHROME" ]]; then
open -n -a "Google Chrome" --args --profile-directory="$profile"
elif [[ "$browser" == "FIREFOX" ]]; then
/Applications/Firefox.app/Contents/MacOS/firefox -P --no-remote $profile
elif [[ "$browser" == "FIREFOX_DEV" ]]; then
/Applications/FirefoxDeveloperEdition.app/Contents/MacOS/firefox -P --no-remote $profile
elif [[ "$browser" == "EDGE" ]]; then
open -n -a "Microsoft Edge" --args --profile-directory="$profile"
elif [[ "$browser" == "EDGE_CANARY" ]]; then
open -n -a "Microsoft Edge Canary" --args --profile-directory="$profile"
fi</string>
<key>scriptargtype</key>
<integer>0</integer>
<key>scriptfile</key>
<string></string>
<key>type</key>
<integer>0</integer>
</dict>
<key>type</key>
<string>alfred.workflow.action.script</string>
<key>uid</key>
<string>35B0D4F6-552C-48E6-B893-714093B535CE</string>
<key>version</key>
<integer>2</integer>
</dict>
</array>
<key>readme</key>
<string>Open your browsers profiles from Alfred
---
Icon by Alexiuz AS
https://www.iconfinder.com/icons/4263528/browser_site_staging_website_window_icon</string>
<key>uidata</key>
<dict>
<key>35B0D4F6-552C-48E6-B893-714093B535CE</key>
<dict>
<key>xpos</key>
<integer>400</integer>
<key>ypos</key>
<integer>95</integer>
</dict>
<key>89DDAF9B-84D4-40E8-A98B-32FCF1472372</key>
<dict>
<key>xpos</key>
<integer>80</integer>
<key>ypos</key>
<integer>95</integer>
</dict>
</dict>
<key>variablesdontexport</key>
<array/>
<key>version</key>
<string>2.1.0</string>
<key>webaddress</key>
<string>https://github.com/skydiver/</string>
</dict>
</plist>