Skip to content

Commit

Permalink
fix copy to refer to correct clipboards
Browse files Browse the repository at this point in the history
  • Loading branch information
nwallace committed Apr 20, 2021
1 parent f256876 commit b891627
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bwmenu
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,9 @@ actions_for_item() {
[ -n "$AUTOTYPE_MODE" ] && actions+=("Type password::auto_type password ${1@Q}")
fi
if [ -n "$password" ] && [ -n "$username" ] ; then
actions+=("Copy username and password:Username copied to primary selection<br>Password copied to clipboard: \
copy_and_clear primary ${username@Q} \
&& copy_and_clear clipboard ${password@Q}")
actions+=("Copy username and password:Username copied to clipboard<br>Password copied to primary selection: \
copy_and_clear clipboard ${username@Q} \
&& copy_and_clear primary ${password@Q}")
[ -n "$AUTOTYPE_MODE" ] && actions+=("Type username and password::auto_type all ${1@Q}")
fi
if uri="$(jq -re 'map(.login.uris[0].uri | select(. != null)) | first' <<< "$1")" ; then
Expand Down

0 comments on commit b891627

Please sign in to comment.