Change passwordstore layout
This commit is contained in:
parent
ab93b01914
commit
0093a469a9
@ -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"
|
||||
|
||||
|
2
mbsyncrc
2
mbsyncrc
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user