aboutsummaryrefslogtreecommitdiff
path: root/macos.local/.flake/home/scripts/launcher.org
diff options
context:
space:
mode:
authorjjanzen <jjanzen@jjanzen.ca>2025-01-11 18:34:32 -0600
committerjjanzen <jjanzen@jjanzen.ca>2025-01-11 18:34:32 -0600
commit947a2aa48a62b86b1ceeca310ddd8c42c859b9e6 (patch)
tree7f40deffced962faa80c555952fe8af768b09dba /macos.local/.flake/home/scripts/launcher.org
parenta50476209bdcda4a8031979790067ef1173ead63 (diff)
system changes
Diffstat (limited to 'macos.local/.flake/home/scripts/launcher.org')
-rw-r--r--macos.local/.flake/home/scripts/launcher.org4
1 files changed, 1 insertions, 3 deletions
diff --git a/macos.local/.flake/home/scripts/launcher.org b/macos.local/.flake/home/scripts/launcher.org
index 3ef221d..0063bf1 100644
--- a/macos.local/.flake/home/scripts/launcher.org
+++ b/macos.local/.flake/home/scripts/launcher.org
@@ -3,7 +3,5 @@
Use =choose-gui= to launch an application. This is used for a keyboard command to launch applications.
#+begin_src sh
#!/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"
-
- 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"
+ open -n $(find -L /Applications /System/Applications /System/Applications/Utilities ~/Applications /opt/homebrew/opt/emacs-plus@* -maxdepth 1 -name "*.app" | choose -f "SauceCodePro Nerd Font" -s 15)
#+end_src