sure didn't expect this to depend on vim
This commit is contained in:
parent
9c142bd605
commit
cb459c93a9
@ -11,7 +11,7 @@ pair="$(zenity --password --username --title="Password Calculator")"
|
|||||||
alias_="${pair%|*}"
|
alias_="${pair%|*}"
|
||||||
secret="${pair#*|}"
|
secret="${pair#*|}"
|
||||||
|
|
||||||
pass="$(echo -n "$secret$alias_" | shasum | xxd -r -p | base64 | colrm 17)"
|
pass="$(echo -n "$secret$alias_" | shasum | sed 's/../\\\\x&/g' | xargs echo -e | base64 | colrm 17)"
|
||||||
|
|
||||||
echo -n "$pass" | xclip
|
echo -n "$pass" | xclip
|
||||||
echo -n "$pass" | xclip -sel c
|
echo -n "$pass" | xclip -sel c
|
||||||
|
Loading…
Reference in New Issue
Block a user