diff options
| author | filip <“filip.rabiega@gmail.com”> | 2026-01-21 10:36:12 +0100 |
|---|---|---|
| committer | filip <“filip.rabiega@gmail.com”> | 2026-01-21 10:36:12 +0100 |
| commit | 88f0243428c4cf39029c8ffc5a7e1634951158a0 (patch) | |
| tree | f8b05b9f056dd72b7955f90560c453b4c317bd92 /dpass | |
| parent | 83954961af8b6337da100e038561f2fd975ac1fe (diff) | |
| download | chadscripts-88f0243428c4cf39029c8ffc5a7e1634951158a0.tar.gz chadscripts-88f0243428c4cf39029c8ffc5a7e1634951158a0.tar.bz2 chadscripts-88f0243428c4cf39029c8ffc5a7e1634951158a0.zip | |
add comments to some scripts
Diffstat (limited to 'dpass')
| -rwxr-xr-x | dpass | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ #!/bin/sh +# Select a password in dmenu and copy it dir="${PASSWORD_STORE_DIR:-$HOME/.password-store}" password=$(find "$dir" -type f -name '*.gpg' | -sed 's/.*\/\(.*\)\.gpg$/\1/' | dmenu -i -p "Pass:") + sed 's/.*\/\(.*\)\.gpg$/\1/' | dmenu -i -p "Pass:") [ -n "$password" ] && pass show -c "$password" |
