[stdin_to_notis.sh]: Add CLI arg to give notis a heading

This commit is contained in:
2025-01-28 04:09:56 +00:00
parent 8c375f9091
commit 8d7b3c4b0f

View File

@ -4,5 +4,10 @@
while read line while read line
do do
if [ -z "$1" ]
then
notify-send "$line" notify-send "$line"
else
notify-send "$1" "$line"
fi
done done