diff options
Diffstat (limited to '.local/bin/mc-pass')
-rwxr-xr-x | .local/bin/mc-pass | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.local/bin/mc-pass b/.local/bin/mc-pass new file mode 100755 index 0000000..046a565 --- /dev/null +++ b/.local/bin/mc-pass @@ -0,0 +1,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 |