add stdout_to_notis.sh

This commit is contained in:
2023-11-19 15:59:18 +00:00
parent 13cac0e5ec
commit 285f6dc532

8
stdout_to_notis.sh Executable file
View File

@ -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