blob: 046a56516798d17e83bc49a32c385fed5dc4b42e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
trap '
wl-copy </dev/null
notify-send -a "${0##*/}" "Password Cleared" \
"The password was cleared from the clipboard."
' INT EXIT TERM
vlt raw Email thomasvoss@live.com | wl-copy
notify-send -a "${0##*/}" 'Password Copied' \
'The password will be cleared from the clipboard in 10 seconds.'
sleep 10
|