diff options
| author | Karel Kočí <karel.koci@nic.cz> | 2020-03-09 13:26:21 +0100 | 
|---|---|---|
| committer | Karel Kočí <karel.koci@nic.cz> | 2020-03-09 13:26:21 +0100 | 
| commit | b0dc1eeb37f9c75b82ee1f110338508e1cafecf6 (patch) | |
| tree | 4f428483c180a5b3605e8b3b0b89e95140f85208 /config/i3/scripts | |
| parent | 6fb6b40249d7c33f999a6cb666c17dbc5de54df9 (diff) | |
| download | myconfigs-b0dc1eeb37f9c75b82ee1f110338508e1cafecf6.tar.gz myconfigs-b0dc1eeb37f9c75b82ee1f110338508e1cafecf6.tar.bz2 myconfigs-b0dc1eeb37f9c75b82ee1f110338508e1cafecf6.zip | |
i3: get password from store without terminal
Diffstat (limited to 'config/i3/scripts')
| -rwxr-xr-x | config/i3/scripts/pass | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/config/i3/scripts/pass b/config/i3/scripts/pass new file mode 100755 index 0000000..aa2ad96 --- /dev/null +++ b/config/i3/scripts/pass @@ -0,0 +1,6 @@ +#!/bin/sh +find ~/.password-store -type f -printf '%P\n' | \ +	sed 's/\.gpg$//' | dmenu -p 'Pass:' | \ +	while read -r psw; do +		pass -c "$psw" +done | 
