Files
kitty-web/kitty-notify
T

9 lines
220 B
Bash
Executable File

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