Create a gist now

Instantly share code, notes, and snippets.

Alarm script for PilotSSH
#!/bin/sh
tmux send -t alarm alarm SPACE $1 ENTER
echo "{ \"version\": 1, \"title\": \"Alarm\", \"type\": \"status\", \"status\": \"ok\", \"message\": \"Good night :)\"}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment