Ensure to purge recent files

This commit is contained in:
gardouille 2019-01-08 14:19:52 +01:00
parent 6dee0eeb4f
commit 472c083633
Signed by: gardouille
GPG Key ID: E759BAA22501AF32
1 changed files with 6 additions and 1 deletions

View File

@ -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