When I run neopassmenu in wayland (sway) with the -c option and without the -m option, the output is not the password but "pass <nameoftheentryinthepasswordstore>". It does not matter what value DMENU_COMMAND has (I've tried with dmenu-wl, tofi, wofi --show dmenu and bemenu).
Steps to reproduce what happens:
1) I run neopassmenu -c;
2) the password chooser appears, I select an entry (let's say the "google" entry).
I now look at my clipboard and the last entry is not the google password, but literally "pass google".
The problem does not arise if I add the "-m" option and I select a line.
Please find beneath some details about my system.
Distribution: Archlinux
Neopassmenu version: 1.0.2-1 (installed from the AUR)
When I run neopassmenu in wayland (sway) with the -c option and without the -m option, the output is not the password but "pass \<nameoftheentryinthepasswordstore\>". It does not matter what value DMENU_COMMAND has (I've tried with dmenu-wl, tofi, wofi --show dmenu and bemenu).
Steps to reproduce what happens:
1) I run neopassmenu -c;
2) the password chooser appears, I select an entry (let's say the "google" entry).
I now look at my clipboard and the last entry is not the google password, but literally "pass google".
The problem does not arise if I add the "-m" option and I select a line.
Please find beneath some details about my system.
Distribution: Archlinux
Neopassmenu version: 1.0.2-1 (installed from the AUR)
Window manager: Sway 1.8.1
Wayland version: 1.21.0 (standard Archlinux package)
wl-clipboard version: 2.1.0 (standard Archlinux package)
I guess I've found a solution. Line 83 in the script should be:
echo "$(pass $file)" | wl-copy --trim-newline
and not:
echo "pass $file" | wl-copy --trim-newline
I guess I've found a solution. Line 83 in the script should be:
echo "$(pass $file)" | wl-copy --trim-newline
and not:
echo "pass $file" | wl-copy --trim-newline
Thanks for the issue. I have decided to to move from xclip and wl-copy to clipboard to simplify the codebase. I'm committing soon.
Thanks for the issue. I have decided to to move from xclip and wl-copy to [clipboard](https://getclipboard.app) to simplify the codebase. I'm committing soon.
When I run neopassmenu in wayland (sway) with the -c option and without the -m option, the output is not the password but "pass <nameoftheentryinthepasswordstore>". It does not matter what value DMENU_COMMAND has (I've tried with dmenu-wl, tofi, wofi --show dmenu and bemenu).
Steps to reproduce what happens:
1) I run neopassmenu -c;
2) the password chooser appears, I select an entry (let's say the "google" entry).
I now look at my clipboard and the last entry is not the google password, but literally "pass google".
The problem does not arise if I add the "-m" option and I select a line.
Please find beneath some details about my system.
Distribution: Archlinux
Neopassmenu version: 1.0.2-1 (installed from the AUR)
Window manager: Sway 1.8.1
Wayland version: 1.21.0 (standard Archlinux package)
wl-clipboard version: 2.1.0 (standard Archlinux package)
I guess I've found a solution. Line 83 in the script should be:
echo "$(pass $file)" | wl-copy --trim-newline
and not:
echo "pass $file" | wl-copy --trim-newline
Thanks for the issue. I have decided to to move from xclip and wl-copy to clipboard to simplify the codebase. I'm committing soon.