diff --git a/prpw-tui_copy-field b/prpw-tui_copy-field index 348adff..568a94d 100755 --- a/prpw-tui_copy-field +++ b/prpw-tui_copy-field @@ -13,4 +13,7 @@ export prpw_menu_manage_entry=2 # Print field content and exit export prpw_menu_field_action=1 -"$SHROOT"/prpw-tui "$1" | xclip -selection clipboard +PW="$("$SHROOT"/prpw-tui "$1")" +echo -n "$PW" | xclip -selection clipboard +echo -n "$PW" | xclip -selection primary +#echo -n "$PW" | xclip -selection secondary