<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<p><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">Hi!</span><br>
</p>
<div style="color: rgb(0, 0, 0);">
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p><br>
</p>
<p>I've just recently started using pass and more specifically passmenu, and am very pleased with it :-)</p>
<p><br>
</p>
<p>The main feature I found that was immediately missing when switching over from keepassx, is the ability to autotype a username/password combination. I read through the mailing list archives and found this feature was already attempted here: <a href="https://lists.zx2c4.com/pipermail/password-store/2015-December/001834.html" id="LPlnk892487" previewremoved="true">https://lists.zx2c4.com/pipermail/password-store/2015-December/001834.html</a><a href="https://lists.zx2c4.com/pipermail/password-store/2015-December/001834.html" class="OWAAutoLink" id="LPlnk470123" previewremoved="true"></a></p>
<p><br>
</p>
<p>It doesn't seem like there was any response to this, but arbitrarily taking the second line doesn't seem ideal to me. I think my implementation is an improvement, because it leverages the suggested file format of "key: value" pairs after the first line. </p>
<p><br>
</p>
<p>In the included patch you will see that I've just added a --userfield flag which can be used as follows:</p>
<p>passmenu --type --userfield username [dmenu arguments...]</p>
<p><br>
</p>
<p>This corresponds to files which look like:</p>
<p>passw0rd</p>
<p>username: matt.snider</p>
<p><br>
</p>
<p>I personally use this by binding $mod+p to the regular passmenu invocation, and $mod+Shift+p to the invocation using --type and --userfield. This has been working very well for me.</p>
<p><br>
</p>
<p>Please let me know what you think and if you have some feedback.</p>
<p><br>
</p>
<p>Best,</p>
<p>Matt</p>
<p><br>
</p>
<p><br>
</p>
<p></p>
</div>
</div>
</div>
</div>
</body>
</html>