From a974dca8f3286ce092ac3defd45dfb58c708d677 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 20 Nov 2023 15:15:41 +0000 Subject: [PATCH] rename stdout_to_notis.sh to stdin_to_notis.sh to be more accurate --- stdin_to_notis.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 stdin_to_notis.sh diff --git a/stdin_to_notis.sh b/stdin_to_notis.sh new file mode 100755 index 0000000..604832b --- /dev/null +++ b/stdin_to_notis.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# small script to turn the stdout output of a program into notifications line-by-line +# intended for use when a script is not being called from a terminal, but from a GUI application so that output can still be seen + +while read line +do + notify-send "$line" +done