clear clips after a short time

This commit is contained in:
Felix Van der Jeugt 2016-02-01 09:18:34 +01:00
parent 5ad78e8976
commit ab839f5ada

View File

@ -17,3 +17,8 @@ echo -n "$pass" | xclip
echo -n "$pass" | xclip -sel c echo -n "$pass" | xclip -sel c
notify-send "xclip set to ${pass:0:3}...${pass:(-3):3}" 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"