-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
anttiharju
committed
Sep 5, 2024
1 parent
ddf8e02
commit c9e23d0
Showing
4 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
!.vscode/extensions.json | ||
cache/* | ||
!cache/.gitkeep | ||
*.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env dash | ||
|
||
SCRIPT_DIR=$(dirname "$(realpath "$0")") | ||
|
||
# Run the AppleScript and capture the output | ||
urls=$(osascript "$SCRIPT_DIR/../scripts/get_safari_urls.scpt") | ||
|
||
# Convert the output to a list | ||
IFS=', ' | ||
|
||
# Print the URLs (optional) | ||
for url in $urls; do | ||
echo | ||
echo "$url" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.