blob: a95c9e7ae9511a064cd100640cf03842bd6f537a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
[[ -z $DISPLAY ]] && exit 1;
exec 0<&-
sup ssh mistral 'socat unix-connect:notify.sock stdout' |
while read heading message; do
if [[ -n $heading ]]; then
notify-send -t 5000 -- "${heading}" "${message}";
fi
done
|