Ensure to purge recent files
This commit is contained in:
parent
6dee0eeb4f
commit
472c083633
|
@ -6,7 +6,8 @@
|
||||||
# Ensure to delete everything link to {ssh,gpg}-agent
|
# Ensure to delete everything link to {ssh,gpg}-agent
|
||||||
# Ensure to kill all git-credential sockets
|
# Ensure to kill all git-credential sockets
|
||||||
# Kill keepass2
|
# Kill keepass2
|
||||||
# Kill cached password
|
# Remove cached password
|
||||||
|
# Remove recent files
|
||||||
# Turn off the screen
|
# Turn off the screen
|
||||||
# Lock the screen
|
# Lock the screen
|
||||||
### Give an easy way to call this function with a keybind.
|
### 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-page-setup" -delete
|
||||||
find ~/.config -ipath "*GIMP*" -and -iname "print-settings" -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
|
# Turn off the screen
|
||||||
sleep 3; xset dpms force off
|
sleep 3; xset dpms force off
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue