commit f9bb9a1b62ef94a88e23de5e296fe8f5cdb833bd parent 0b30f7636947e733bb53cc6c23388fbdc9b7c09e Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 7 Jan 2020 19:52:10 +0100 Add interactive text-sending script Diffstat:
A | .local/bin/text.sh | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/.local/bin/text.sh b/.local/bin/text.sh @@ -0,0 +1,6 @@ +#!/bin/sh +to="$(find "$HOME/.password-store/Telephone" -type f | \ + sed 's/.*\///;s/\.gpg$//' | \ + dmenu -i -p "to:")" +msg="$(echo | dmenu -p "message:")" +echo "$msg" | sendtext "$to"