This commit is contained in:
cheesus_crust 2023-02-14 21:22:28 +03:00
commit 9581bcc174
10 changed files with 191 additions and 0 deletions

9
for_smollest/sender.sh Normal file
View file

@ -0,0 +1,9 @@
# #!/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' "