rename stdout_to_notis.sh to stdin_to_notis.sh to be more accurate
This commit is contained in:
8
stdin_to_notis.sh
Executable file
8
stdin_to_notis.sh
Executable 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
|
Reference in New Issue
Block a user