Add example for copying a field
This commit is contained in:
parent
8aafd2ab88
commit
d0e030a527
17
prpw-tui_copy-field
Executable file
17
prpw-tui_copy-field
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env sh
|
||||
SHROOT="${0%/*}"
|
||||
if [ "$SHROOT" = "$0" ]; then
|
||||
SHROOT="$PWD"
|
||||
fi
|
||||
echo $SHROOT
|
||||
|
||||
# Search for entry
|
||||
export prpw_menu_entries_action=1
|
||||
|
||||
# Manage fields
|
||||
export prpw_menu_manage_entry=2
|
||||
|
||||
# Print field content and exit
|
||||
export prpw_menu_field_action=1
|
||||
|
||||
"$SHROOT"/prpw-tui "$1" | xclip -selection clipboard
|
Loading…
Reference in New Issue
Block a user