Change passwordstore layout

This commit is contained in:
Felix Van der Jeugt 2019-10-16 14:43:25 +02:00
parent ab93b01914
commit 0093a469a9
No known key found for this signature in database
GPG Key ID: 58B209295023754D
3 changed files with 3 additions and 5 deletions

View File

@ -2,12 +2,10 @@
window="$(xdotool getwindowfocus)"
key="$(cd ~/.password-store; find * -name '*.gpg' -exec basename \{\} \; | sed 's/\.[^.]*$//' | dmenu)"
key="$(cd ~/.password-store; find * -name '*.gpg' | sed 's/\.gpg$//' | sort -d | dmenu)"
[ -z "$key" ] && exit
key="$(cd ~/.password-store; find * -name "$key"'.*' | sed 's/\.gpg$//')"
xdotool type --clearmodifiers --window "$window" "$(pass show "$key" | head -1)"
xdotool windowfocus "$window"

View File

@ -10,7 +10,7 @@ CertificateFile "/etc/ssl/certs/ca-certificates.crt"
IMAPAccount ugent
Host "owa.ugent.be"
User "felix.vanderjeugt@ugent.be"
PassCmd "pass show web/ugent.be | head -1"
PassCmd "pass show ugent | head -1"
AuthMechs "PLAIN"
SSLTYPE "IMAPS"
CertificateFile "/etc/ssl/certs/ca-certificates.crt"

View File

@ -18,7 +18,7 @@ host smtp.ugent.be
port 587
from felix.vanderjeugt@ugent.be
user felix.vanderjeugt@ugent.be
passwordeval "pass show web/ugent.be | head -1"
passwordeval "pass show ugent | head -1"
account posteo
host posteo.de