From ab839f5ada19401beb038240393da551169c9936 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Mon, 1 Feb 2016 09:18:34 +0100 Subject: [PATCH] clear clips after a short time --- local/bin/pwcalc.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/local/bin/pwcalc.sh b/local/bin/pwcalc.sh index 3463952..6e33be8 100755 --- a/local/bin/pwcalc.sh +++ b/local/bin/pwcalc.sh @@ -17,3 +17,8 @@ echo -n "$pass" | xclip echo -n "$pass" | xclip -sel c notify-send "xclip set to ${pass:0:3}...${pass:(-3):3}" +sleep 2 +cat -A /dev/urandom | head -c10 | xclip +cat -A /dev/urandom | head -c10 | xclip -sel c +notify-send "cleaned xclip" +