Skip to content

Commit d5df965

Browse files
committed
🔖 Bump version 1.0.7
1 parent f1b6004 commit d5df965

File tree

4 files changed

+18
-23
lines changed

4 files changed

+18
-23
lines changed

src/focus-tab-arc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ function run(args) {
1313

1414
chrome.windows[windowIndex].spaces[spaceIndex].focus();
1515
chrome.windows[windowIndex].spaces[spaceIndex].tabs[tabIndex].select();
16-
chrome.activate()
16+
chrome.activate();
1717
}

src/focus-tab-webkit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ function run(args) {
2929
// Force tab window to front
3030
window.visible = false;
3131
window.visible = true;
32-
}
32+
}

src/info.plist

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@
433433
<key>createdby</key>
434434
<string>Emmanuel Pilande</string>
435435
<key>description</key>
436-
<string>Search browser tabs from Chrome, Brave, Safari, etc..</string>
436+
<string>Search browser tabs from Chrome, Arc, Brave, Safari, etc..</string>
437437
<key>disabled</key>
438438
<false/>
439439
<key>name</key>
@@ -1236,7 +1236,7 @@
12361236
<key>queuemode</key>
12371237
<integer>1</integer>
12381238
<key>runningsubtext</key>
1239-
<string></string>
1239+
<string>Loading tabs...</string>
12401240
<key>script</key>
12411241
<string>./list-tabs-arc.js "Arc"</string>
12421242
<key>scriptargtype</key>
@@ -1364,7 +1364,7 @@
13641364
<key>script</key>
13651365
<string>function run() {
13661366
let query = "{query}";
1367-
let [, url] = query.split(",");
1367+
let [, , , url] = query.split(",");
13681368
13691369
return url
13701370
}</string>
@@ -1411,7 +1411,8 @@ Commands:
14111411
- `edge tabs {query}` - Fetch tabs from Microsoft Edge.
14121412
- `vivaldi tabs {query}` - Fetch tabs from Vivaldi.
14131413
- `safari tabs {query}` - Fetch tabs from Safari.
1414-
- `orion tabs {query}` - Fetch tabs from Orion.</string>
1414+
- `orion tabs {query}` - Fetch tabs from Orion.
1415+
- `arc tabs {query}` - Fetch tabs from Arc.</string>
14151416
<key>uidata</key>
14161417
<dict>
14171418
<key>05291F67-A2F4-49A2-A3AA-23923B919638</key>
@@ -1426,7 +1427,7 @@ Commands:
14261427
<key>xpos</key>
14271428
<real>600</real>
14281429
<key>ypos</key>
1429-
<real>1220</real>
1430+
<real>1270</real>
14301431
</dict>
14311432
<key>0C66AA56-A328-4470-B5C2-7A812B8F96C7</key>
14321433
<dict>
@@ -1447,7 +1448,7 @@ Commands:
14471448
<key>xpos</key>
14481449
<real>1260</real>
14491450
<key>ypos</key>
1450-
<real>1350</real>
1451+
<real>1405</real>
14511452
</dict>
14521453
<key>1EF5C902-0F47-47F1-BCBB-5BA273DE5101</key>
14531454
<dict>
@@ -1482,7 +1483,7 @@ Commands:
14821483
<key>xpos</key>
14831484
<real>80</real>
14841485
<key>ypos</key>
1485-
<real>1190</real>
1486+
<real>1240</real>
14861487
</dict>
14871488
<key>66D908A6-B70B-46C5-9BCF-7E46F79D9270</key>
14881489
<dict>
@@ -1496,7 +1497,7 @@ Commands:
14961497
<key>xpos</key>
14971498
<real>1075</real>
14981499
<key>ypos</key>
1499-
<real>1350</real>
1500+
<real>1405</real>
15001501
</dict>
15011502
<key>7ABACCB4-CB3E-4944-ACF4-5A13D66C5688</key>
15021503
<dict>
@@ -1545,7 +1546,7 @@ Commands:
15451546
<key>xpos</key>
15461547
<real>890</real>
15471548
<key>ypos</key>
1548-
<real>1190</real>
1549+
<real>1240</real>
15491550
</dict>
15501551
<key>A78D61D6-FD39-40C8-9C2D-169AEBE0C096</key>
15511552
<dict>
@@ -1559,7 +1560,7 @@ Commands:
15591560
<key>xpos</key>
15601561
<real>890</real>
15611562
<key>ypos</key>
1562-
<real>1350</real>
1563+
<real>1405</real>
15631564
</dict>
15641565
<key>B4244A14-9629-4620-BA03-C90CEADF68F7</key>
15651566
<dict>
@@ -1601,7 +1602,7 @@ Commands:
16011602
<key>xpos</key>
16021603
<real>325</real>
16031604
<key>ypos</key>
1604-
<real>1190</real>
1605+
<real>1240</real>
16051606
</dict>
16061607
<key>E5B3D963-2A31-4859-AAA7-D8ED845B0B29</key>
16071608
<dict>
@@ -1651,7 +1652,7 @@ Commands:
16511652
<key>variablesdontexport</key>
16521653
<array/>
16531654
<key>version</key>
1654-
<string>1.0.6</string>
1655+
<string>1.0.7</string>
16551656
<key>webaddress</key>
16561657
<string>https://github.com/epilande/alfred-browser-tabs</string>
16571658
</dict>

src/list-tabs-arc.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env osascript -l JavaScript
22

33
function run(args) {
4-
let browser = "Arc"
4+
let browser = "Arc";
55
if (!Application(browser).running()) {
66
return JSON.stringify({
77
items: [
@@ -23,7 +23,7 @@ function run(args) {
2323
let k = `${widx}-${sidx}-${i}`;
2424
let title = chrome.windows[widx].spaces[sidx].tabs[i].title();
2525
let url = chrome.windows[widx].spaces[sidx].tabs[i].url();
26-
allTabs[k] = {title, url};
26+
allTabs[k] = { title, url };
2727
}
2828
}
2929
}
@@ -42,17 +42,11 @@ function run(args) {
4242
spaceIndex: s,
4343
quicklookurl: url,
4444
arg: `${w},${s},${t},${url}`,
45-
match: `${title} ${decodeURIComponent(matchUrl).replace(
46-
/[^\w]/g,
47-
" ",
48-
)}`,
45+
match: `${title} ${decodeURIComponent(matchUrl).replace(/[^\w]/g, " ")}`,
4946
};
5047
acc.push(o);
5148
return acc;
5249
}, []);
5350

54-
//this.console.log(JSON.stringify({ all }));
5551
return JSON.stringify({ items });
56-
5752
}
58-

0 commit comments

Comments
 (0)