From 4259875aa0081d8b80183ccf38985e7a1c43d91f Mon Sep 17 00:00:00 2001 From: Bennett Piater Date: Wed, 11 Jan 2017 19:07:43 +0100 Subject: [PATCH] two bug fixes. The errors came from adapting my custom script to what became puma. --- bin/puma | 2 +- bin/puma-menu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/puma b/bin/puma index df28d7b..d12f5db 100755 --- a/bin/puma +++ b/bin/puma @@ -56,7 +56,7 @@ fi typeout() { - local gpg="/usr/bin/gpg --no-tty --quiet --decrypt $keyring/$key.gpg" + local gpg="/usr/bin/gpg --no-tty --quiet --decrypt $PUMA_KEYRING/$key.gpg" echo type "$($gpg | grep -m 1 "$1: " | cut -d " " -f 2)" | xdotool - } diff --git a/bin/puma-menu b/bin/puma-menu index 075a22c..dc6392b 100755 --- a/bin/puma-menu +++ b/bin/puma-menu @@ -23,4 +23,4 @@ PUMA_KEYRING="${PUMA_KEYRING:-$HOME/Documents/keyring}" -ls -1B "$PUMA_KEYRING" | sed 's/\(.*\)\..*/\1/' | dmenu -p "Login:" | xargs ~/bin/up +ls -1B "$PUMA_KEYRING" | sed 's/\(.*\)\..*/\1/' | dmenu -p "Login:" | xargs puma