diff --git a/.local/bin/send-bankid-token b/.local/bin/send-bankid-token index cf36e43..571d214 100755 --- a/.local/bin/send-bankid-token +++ b/.local/bin/send-bankid-token @@ -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." &