[stdin_to_notis.sh]: Add CLI arg to give notis a heading
This commit is contained in:
@ -4,5 +4,10 @@
|
|||||||
|
|
||||||
while read line
|
while read line
|
||||||
do
|
do
|
||||||
notify-send "$line"
|
if [ -z "$1" ]
|
||||||
|
then
|
||||||
|
notify-send "$line"
|
||||||
|
else
|
||||||
|
notify-send "$1" "$line"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user