Change passwordstore layout
This commit is contained in:
parent
ab93b01914
commit
0093a469a9
@ -2,12 +2,10 @@
|
|||||||
|
|
||||||
window="$(xdotool getwindowfocus)"
|
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
|
[ -z "$key" ] && exit
|
||||||
|
|
||||||
key="$(cd ~/.password-store; find * -name "$key"'.*' | sed 's/\.gpg$//')"
|
|
||||||
|
|
||||||
xdotool type --clearmodifiers --window "$window" "$(pass show "$key" | head -1)"
|
xdotool type --clearmodifiers --window "$window" "$(pass show "$key" | head -1)"
|
||||||
xdotool windowfocus "$window"
|
xdotool windowfocus "$window"
|
||||||
|
|
||||||
|
2
mbsyncrc
2
mbsyncrc
@ -10,7 +10,7 @@ CertificateFile "/etc/ssl/certs/ca-certificates.crt"
|
|||||||
IMAPAccount ugent
|
IMAPAccount ugent
|
||||||
Host "owa.ugent.be"
|
Host "owa.ugent.be"
|
||||||
User "felix.vanderjeugt@ugent.be"
|
User "felix.vanderjeugt@ugent.be"
|
||||||
PassCmd "pass show web/ugent.be | head -1"
|
PassCmd "pass show ugent | head -1"
|
||||||
AuthMechs "PLAIN"
|
AuthMechs "PLAIN"
|
||||||
SSLTYPE "IMAPS"
|
SSLTYPE "IMAPS"
|
||||||
CertificateFile "/etc/ssl/certs/ca-certificates.crt"
|
CertificateFile "/etc/ssl/certs/ca-certificates.crt"
|
||||||
|
2
msmtprc
2
msmtprc
@ -18,7 +18,7 @@ host smtp.ugent.be
|
|||||||
port 587
|
port 587
|
||||||
from felix.vanderjeugt@ugent.be
|
from felix.vanderjeugt@ugent.be
|
||||||
user 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
|
account posteo
|
||||||
host posteo.de
|
host posteo.de
|
||||||
|
Loading…
Reference in New Issue
Block a user