i think this is safer? plus gitignore
This commit is contained in:
parent
0d10b0d48d
commit
d18c9766f9
3 changed files with 11 additions and 3 deletions
9
.gitignore
vendored
9
.gitignore
vendored
|
@ -125,3 +125,12 @@ chromium/
|
||||||
okularrc
|
okularrc
|
||||||
plasmanotifyrc
|
plasmanotifyrc
|
||||||
arkrc
|
arkrc
|
||||||
|
emaildefaults
|
||||||
|
kmenueditrc
|
||||||
|
ksplashrc
|
||||||
|
plasma.emojierrc
|
||||||
|
plasmawindowed-appletsrc
|
||||||
|
plasmawindowedrc
|
||||||
|
sddmthemeinstallerrc
|
||||||
|
signond/
|
||||||
|
torbrowser/
|
||||||
|
|
|
@ -9,5 +9,4 @@ password=$(find ~/.password-store/ -type f -name '*.gpg' |
|
||||||
[ -z "$password" ] && exit
|
[ -z "$password" ] && exit
|
||||||
|
|
||||||
# If chosen, use xdotool to type it
|
# If chosen, use xdotool to type it
|
||||||
pass=$(pass show "$password" | head -1)
|
xdotool type "$(pass $password | head -1)" && [ -e /usr/bin/notify-send ] && notify-send " $password" "Successfully decrypted"
|
||||||
xdotool type "$pass" && [ -e /usr/bin/notify-send ] && notify-send " $password" "Successfully decrypted"
|
|
||||||
|
|
|
@ -9,4 +9,4 @@ password=$(find ~/.password-store/ -type f -name '*.gpg' |
|
||||||
[ -z "$password" ] && exit
|
[ -z "$password" ] && exit
|
||||||
|
|
||||||
# If chosen, copy to clipboard, and notify
|
# If chosen, copy to clipboard, and notify
|
||||||
pass show "$password"
|
pass "$password"
|
||||||
|
|
Loading…
Reference in a new issue