From 472c08363332bbd9ae0b3eb9a831958d84e8406c Mon Sep 17 00:00:00 2001 From: Gardouille Date: Tue, 8 Jan 2019 14:19:52 +0100 Subject: [PATCH] Ensure to purge recent files --- veille.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/veille.sh b/veille.sh index 891f983..ca7e911 100755 --- a/veille.sh +++ b/veille.sh @@ -6,7 +6,8 @@ # Ensure to delete everything link to {ssh,gpg}-agent # Ensure to kill all git-credential sockets # Kill keepass2 -# Kill cached password +# Remove cached password +# Remove recent files # Turn off the screen # Lock the screen ### Give an easy way to call this function with a keybind. @@ -43,6 +44,10 @@ rm -f ~/.config/evince/print-settings ~/.config/eog/eog-print-settings.ini find ~/.config -ipath "*GIMP*" -and -iname "print-page-setup" -delete find ~/.config -ipath "*GIMP*" -and -iname "print-settings" -delete +# Purge local user recent files +rm -f -- ~/.local/share/recently-used.xbel +rm -f -- ~/.recently-used + # Turn off the screen sleep 3; xset dpms force off