lets
This commit is contained in:
commit
9581bcc174
10 changed files with 191 additions and 0 deletions
9
for_smollest/sender.sh
Normal file
9
for_smollest/sender.sh
Normal 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' "
|
Loading…
Add table
Add a link
Reference in a new issue