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