commit 9816b9672636fdb82ccd80a7a57c140994a91e68 parent 237f903081b9635a641aca346f1a79b0203c904a Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Wed, 9 Jan 2019 22:29:49 +0100 Remove textqr Diffstat:
D | links/bin/textqr | | | 52 | ---------------------------------------------------- |
1 file changed, 0 insertions(+), 52 deletions(-)
diff --git a/links/bin/textqr b/links/bin/textqr @@ -1,52 +0,0 @@ -#!/usr/bin/env bash -set -e - -pgrep -x dmenu && exit - -keyboard-layout-switch.sh dk - -names="susan\nanders\nchristian\njesper\nsimon\nfar\nmor\nlars" -recipient=$(echo -e "${names[@]}" | dmenu -i -p "To:" || exit 1) - -case "$recipient" in - susan) - number="+4542742942" - ;; - anders) - number="+4542743142" - ;; - christian) - number="+4530246587" - ;; - jesper) - number="+4522257218" - ;; - simon) - number="+4551887891" - ;; - mor) - number="+4524971816" - ;; - far) - number="+4520752527" - ;; - lars) - number="+4560585688" - ;; - - *) - echo "Usage: ${0##*/} RECIPIENT MESSAGE" - exit 1 -esac - -message=$(echo "💬" | dmenu -i -p "Message:") || exit 1 - -keyboard-layout-switch.sh us - -qrencode -o - -s 1 \ - "$number $message" | - feh --auto-zoom \ - --fullscreen \ - --force-aliasing \ - --image-bg white \ - -