Make pass menu only type the last line of the password string
This commit is contained in:
parent
7f60821f5f
commit
1798d2be0d
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ let
|
||||||
|
|
||||||
[[ -n $password ]] || exit
|
[[ -n $password ]] || exit
|
||||||
|
|
||||||
password_value=$(${pkgs.pass-wayland}/bin/pass show "$password" 2>/dev/null)
|
password_value=$(${pkgs.pass-wayland}/bin/pass show "$password" | tail -1 2>/dev/null)
|
||||||
${pkgs.wtype}/bin/wtype "''${password_value}"
|
${pkgs.wtype}/bin/wtype "''${password_value}"
|
||||||
'';
|
'';
|
||||||
in { home.packages = [ passbemenu ]; }
|
in { home.packages = [ passbemenu ]; }
|
||||||
|
|
Loading…
Add table
Reference in a new issue