Files
sethmux/sethmux-notify

9 lines
228 B
Bash
Executable File

#!/bin/bash
# Send a push notification to kitty.sethpc.xyz
# Usage: sethmux-notify "Build complete!" or echo "done" | sethmux-notify
if [ -n "$1" ]; then
echo "$*" > /tmp/sethmux-notify
else
cat > /tmp/sethmux-notify
fi