summaryrefslogtreecommitdiff
path: root/.local/bin/mc-pass
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-04 23:01:55 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-04 23:01:55 +0100
commit7b68345ead9a3f5030a5aeb7eeb2d54b9a367191 (patch)
tree4baa41612157e017ba49c1314100e1bf04d57d6c /.local/bin/mc-pass
parent54a957bf5b27d0d8bc73365b5f3509bff9963bda (diff)
notify: Add the notify script
Diffstat (limited to '.local/bin/mc-pass')
-rwxr-xr-x.local/bin/mc-pass4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/mc-pass b/.local/bin/mc-pass
index 046a565..7dc868d 100755
--- a/.local/bin/mc-pass
+++ b/.local/bin/mc-pass
@@ -2,11 +2,11 @@
trap '
wl-copy </dev/null
- notify-send -a "${0##*/}" "Password Cleared" \
+ notify "${0##*/}" "mc pass" "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' \
+notify "${0##*/}" 'mc pass' 'Password Copied' \
'The password will be cleared from the clipboard in 10 seconds.'
sleep 10