bins - also put it in the clipboard

This commit is contained in:
Felix Van der Jeugt 2015-05-18 14:16:43 +02:00
parent 980a04c7af
commit b4401860ac

View File

@ -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}"