From b39259210eaa7f503c2a8f9d5fe4caac44706e6a Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 11 Jan 2022 17:24:52 +0000 Subject: added a script to be called by newsboat to journal urls --- get-newsboat-comment.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 get-newsboat-comment.sh (limited to 'get-newsboat-comment.sh') 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... + -- cgit v1.2.3