feat: initial deployment of raycast core automation tools
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title Load Window Layout
|
||||
# @raycast.mode silent
|
||||
# @raycast.icon 🖥️
|
||||
# @raycast.packageName Layout Selector
|
||||
|
||||
# @raycast.argument1 { "type": "text", "placeholder": "Layout Name" }
|
||||
|
||||
if [ ! -f /opt/homebrew/bin/hs ]; then
|
||||
echo "Hammerspoon CLI link missing"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
LAYOUT_NAME="$1"
|
||||
|
||||
if [ -z "$LAYOUT_NAME" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
/opt/homebrew/bin/hs -c "LayoutSelector.load('${LAYOUT_NAME}')"
|
||||
Reference in New Issue
Block a user