From b4401860acfcab9804d3d17f436a691ec64ae8ef Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Mon, 18 May 2015 14:16:43 +0200 Subject: [PATCH] bins - also put it in the clipboard --- local/bin/pwcalc.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/local/bin/pwcalc.sh b/local/bin/pwcalc.sh index 5a83eb9..56ca03f 100755 --- a/local/bin/pwcalc.sh +++ b/local/bin/pwcalc.sh @@ -14,5 +14,6 @@ secret="${pair#*|}" pass="$(echo -n "$secret$alias_" | shasum | xxd -r -p | base64 | colrm 17)" echo -n "$pass" | xclip +echo -n "$pass" | xclip -sel c notify-send "xclip set to ${pass:0:3}...${pass:(-3):3}"