add notifications for showEntry menu

This commit is contained in:
Rasmus Steinke 2015-08-24 01:17:45 +02:00
parent 32172c615f
commit 85c0668fb2

View File

@ -253,6 +253,10 @@ showEntry () {
else
echo -n "${stuff[${word}]}" | doClip
fi
notify-send "rofi-pass" "Copied Password\nClearing in 45 seconds"
$(sleep 45; echo -n "" | xclip; echo "" | xclip -selection clipboard | notify-send "rofi-pass" "Clipboard cleared") &
exit
fi
elif [[ ${rofi_exit} -eq 10 ]]; then
if [[ ${bla} == "0 Return" ]]; then