aboutsummaryrefslogtreecommitdiff
path: root/macos/.local
diff options
context:
space:
mode:
authorJacob Janzen <jjanzenn@proton.me>2024-08-09 22:11:23 -0500
committerJacob Janzen <jjanzenn@proton.me>2024-08-09 22:11:23 -0500
commite6e8ebe10aa40e5a3be2b94cdf3b324f3d3e52e0 (patch)
treeaca3b279520b76d918ce603d47981f1d23dbd1af /macos/.local
parent40f02bc8088ca93224bf65f083c4ab3b17eaf435 (diff)
split-dotfiles
Diffstat (limited to 'macos/.local')
-rw-r--r--macos/.local/bin/launcher.org13
l---------macos/.local/share/fonts1
2 files changed, 14 insertions, 0 deletions
diff --git a/macos/.local/bin/launcher.org b/macos/.local/bin/launcher.org
new file mode 100644
index 0000000..f74d094
--- /dev/null
+++ b/macos/.local/bin/launcher.org
@@ -0,0 +1,13 @@
+#+title: Application Launcher Script
+
+Search several locations for applications with =choose=.
+#+begin_src sh :tangle ~/.local/bin/launcher :mkdirp yes :tangle-mode o755
+ #!/bin/sh
+ app="$(ls /Applications/ /Applications/Utilities/ /System/Applications/ /System/Applications/Utilities/ ~/Applications/ | grep '\.app$' | sed 's/\.app$//g' | choose -f "SauceCodePro Nerd Font" -s 15 -b ece0c9).app"
+#+end_src
+
+Try opening the app in each location.
+#+begin_src sh :tangle ~/.local/bin/launcher :mkdirp yes :tangle-mode o755
+ open -n "$HOME/Applications/$app" || open -n "/Applications/$app" || open -n "/System/Applications/Utilities/$app" || open -n "/System/Applications/$app" || open -n "/Applications/Utilities/$app"
+
+#+end_src
diff --git a/macos/.local/share/fonts b/macos/.local/share/fonts
new file mode 120000
index 0000000..9ab89c4
--- /dev/null
+++ b/macos/.local/share/fonts
@@ -0,0 +1 @@
+../../../common/.local/share/fonts \ No newline at end of file