I made a different thread here about goldwarden specifically, so I guess I should make a different one to ask a more general question…
I’m looking for a password manager with autotype functionality that works under wayland and more specifically Hyprland. Does something like this exist? KeepassXC doesn’t work.
EDIT: I guess I can use something like pass
, and script printing the password to console and piping it into ydotool. A proper solution would be better though
EDIT2: I modified the passmenu script a bit, here’s what has worked for me:
#!/usr/bin/env bash
shopt -s nullglob globstar
typeit=0
if [[ $1 == "--type" ]]; then
typeit=1
shift
fi
if [[ -n $WAYLAND_DISPLAY ]]; then
dmenu=fzf
else
echo "Error: No Wayland display detected" >&2
exit 1
fi
prefix=${PASSWORD_STORE_DIR-~/.password-store}
password_files=( "$prefix"/**/*.gpg )
password_files=( "${password_files[@]#"$prefix"/}" )
password_files=( "${password_files[@]%.gpg}" )
password=$(printf '%s\n' "${password_files[@]}" | "$dmenu" "$@")
[[ -n $password ]] || exit
passecho=$(pass show "$password" | head -n 1)
[[ -n $passecho ]] || exit 1
echo "The Password will be auto-typed in 3 seconds..."
sleep 3;
echo "$passecho" | ydotool type --file -