Last active
October 21, 2021 06:10
-
-
Save lajlev/54b3f67db64c34a993500e263c381681 to your computer and use it in GitHub Desktop.
Use Espanso as password expander
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Steps | |
1. Add password to keychain (Screenshot: https://u.lillefar.dk/q2BI5m) | |
2. Add snippet to espanso config file (default.yml) where some-password i identical to account name for your keychain. | |
``` | |
- triggers: [":pass:"] | |
replace: "{{output}}" | |
vars: | |
- name: output | |
type: shell | |
params: | |
cmd: "security find-generic-password -a 'some-password' -w" | |
``` | |
3. First time you run the expander you will be required to enter your macos password. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment