diff --git a/bin/executable_qutebrowser-generate-gopass-username b/bin/executable_qutebrowser-generate-gopass-username index 39b86ae..354b709 100644 --- a/bin/executable_qutebrowser-generate-gopass-username +++ b/bin/executable_qutebrowser-generate-gopass-username @@ -1,6 +1,6 @@ #!/usr/bin/env bash -DOMAIN=$(echo ${1} | awk -F[/:] '{print $4}') +DOMAIN=$(echo ${1} | awk -F[/:] '{print $4}' | sed -E 's_^www\.__') USER="${DOMAIN}@bascht.com" notify-send "Copied username to clipboard" "${USER}" echo "${USER}" | wl-copy