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