small pixel drawing of a pufferfish pa

exit menu scripts if name wasn't chosen
arĉi arcxi@dismail.de
Sat, 06 Jul 2024 14:09:06 +0200
commit

0d49c21d311f85afa0f3b4da0fe65e63ad5a8803

parent

6afa0f8fb07cb2ba63ced6abd73ff11db7532df4

5 files changed, 5 insertions(+), 5 deletions(-)

jump to
M contrib/pa-bemenucontrib/pa-bemenu

@@ -4,6 +4,6 @@ # prompt for a password via bemenu

# generate new password if it doesn't exist # then type the selected password via wtype -name=$(pa list | bemenu -c -W 0.2 -l 20 "$@") +name=$(pa list | bemenu -c -W 0.2 -l 20 "$@") || exit { pa show "$name" || { printf y | pa add "$name" >/dev/null && pa show "$name"; }; } | head -n 1 | tr -d '\n' | wtype -
M contrib/pa-dmenucontrib/pa-dmenu

@@ -4,6 +4,6 @@ # prompt for a password via dmenu

# generate new password if it doesn't exist # then type the selected password via xdotool -name=$(pa list | dmenu "$@") +name=$(pa list | dmenu "$@") || exit { pa show "$name" || { printf y | pa add "$name" >/dev/null && pa show "$name"; }; } | head -n 1 | tr -d '\n' | xdotool type --clearmodifiers --file -
M contrib/pa-fuzzelcontrib/pa-fuzzel

@@ -4,6 +4,6 @@ # prompt for a password via fuzzel

# generate new password if it doesn't exist # then type the selected password via wtype -name=$(pa list | fuzzel -dmenu "$@") +name=$(pa list | fuzzel -dmenu "$@") || exit { pa show "$name" || { printf y | pa add "$name" >/dev/null && pa show "$name"; }; } | head -n 1 | tr -d '\n' | wtype -
M contrib/pa-roficontrib/pa-rofi

@@ -4,6 +4,6 @@ # prompt for a password via rofi

# generate new password if it doesn't exist # then type the selected password via xdotool -name=$(pa list | rofi -dmenu -i "$@") +name=$(pa list | rofi -dmenu -i "$@") || exit { pa show "$name" || { printf y | pa add "$name" >/dev/null && pa show "$name"; }; } | head -n 1 | tr -d '\n' | xdotool type --clearmodifiers --file -
M contrib/pa-wmenucontrib/pa-wmenu

@@ -4,6 +4,6 @@ # prompt for a password via wmenu

# generate new password if it doesn't exist # then type the selected password via wtype -name=$(pa list | wmenu "$@") +name=$(pa list | wmenu "$@") || exit { pa show "$name" || { printf y | pa add "$name" >/dev/null && pa show "$name"; }; } | head -n 1 | tr -d '\n' | wtype -