diff options
author | Alan Pearce | 2024-04-25 17:19:54 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-25 17:19:54 +0200 |
commit | 8c21318c5383e63477dc94986e9052eeb108d601 (patch) | |
tree | 92f0cc38beeca202f0f0129a035fe444edf3d4cb /user/emacs/raycast-script.applescript | |
parent | 05f1915d0e71aee815c6a44d03e5ef1f2e18491d (diff) | |
download | nixfiles-8c21318c5383e63477dc94986e9052eeb108d601.tar.lz nixfiles-8c21318c5383e63477dc94986e9052eeb108d601.tar.zst nixfiles-8c21318c5383e63477dc94986e9052eeb108d601.zip |
emacs: add raycast script to open Emacs.app with shell environment
Diffstat (limited to 'user/emacs/raycast-script.applescript')
-rwxr-xr-x | user/emacs/raycast-script.applescript | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/user/emacs/raycast-script.applescript b/user/emacs/raycast-script.applescript new file mode 100755 index 00000000..d2e97c95 --- /dev/null +++ b/user/emacs/raycast-script.applescript @@ -0,0 +1,12 @@ +#!/usr/bin/osascript + +# Required parameters: +# @raycast.schemaVersion 1 +# @raycast.title Emacs +# @raycast.mode silent + +# Optional parameters: +# @raycast.icon https://www.gnu.org/software/emacs/images/emacs.png +# @raycast.packageName Emacs + +do shell script "$SHELL -c \"open -a ~/.nix-profile/Applications/Emacs.app\"" |