mirror of https://gitlab.com/dabruh/dotfiles.git
Read full URI to clipboard as fail-safe.
This commit is contained in:
parent
20764a342a
commit
20aea3157a
|
@ -9,6 +9,6 @@ TOKEN=${1:?} || exit 1
|
|||
TOKEN="${TOKEN#*=}"
|
||||
TOKEN="${TOKEN%&*}"
|
||||
|
||||
xclip -selection clipboard <<<"$TOKEN"
|
||||
xclip -selection clipboard <<<"$1"
|
||||
ssh bankid -- powershell.exe -NoLogo -ExecutionPolicy Bypass -Command "Set-Content -Path C:\.bidtoken -Value '$TOKEN'" &
|
||||
notify-send BankID "Token has been sent." &
|
||||
|
|
Loading…
Reference in New Issue