diff options
Diffstat (limited to 'get-newsboat-comment.sh')
-rwxr-xr-x | get-newsboat-comment.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/get-newsboat-comment.sh b/get-newsboat-comment.sh new file mode 100755 index 0000000..8645ac7 --- /dev/null +++ b/get-newsboat-comment.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# 01/11/2022 +# Get the user to type something +# for use in newsboat config. +# This is triggered by browser macro hack (,y) - you type a comment +# then this script pipes it to _tj +echo "Enter a comment: " +read -r comment +echo -e "$comment": "$1"|_tj # I can't be bothered checking whether `_tj` exists... + |