10 lines
242 B
Bash
10 lines
242 B
Bash
# #!/data/data/com.termux/files/usr/bin/env bash
|
|
|
|
host="$(grep 'Host ' .ssh/config | sed 's/Host //g' )"
|
|
echo "Sends message to $host "
|
|
echo
|
|
echo "Type message: "
|
|
read -r message
|
|
|
|
ssh "$host" notify-send -u critical "MESSAGE" " '$message' "
|