feat: initial deployment of raycast core automation tools
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title Trigger Monocle Window Layout
|
||||
# @raycast.mode silent
|
||||
# @raycast.icon 🖥️
|
||||
# @raycast.packageName Hammerspoon Core Automation
|
||||
|
||||
# 1. Verify that the Hammerspoon command-line bridge is present
|
||||
if [ ! -f /opt/homebrew/bin/hs ]; then
|
||||
echo "Error: Hammerspoon CLI bridge not found at /opt/homebrew/bin/hs"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 2. Send the execution string over to the headless background process
|
||||
/opt/homebrew/bin/hs -c "hs.alert.show('Layout Synced via Raycast!', 2)"
|
||||
|
||||
# Note: You can call any custom global functions defined inside your pulled Gitea scripts.
|
||||
# To do that, replace the code string above with your specific Lua function name:
|
||||
# /opt/homebrew/bin/hs -c "toggleMonocle()"
|
||||
Reference in New Issue
Block a user