Update lock script
This commit is contained in:
parent
44722d1350
commit
a9e7c1b5b7
|
@ -25,17 +25,17 @@ rm --recursive --force -- /tmp/ssh-*
|
||||||
|
|
||||||
# GPG Agent
|
# GPG Agent
|
||||||
keychain --agents gpg --clear
|
keychain --agents gpg --clear
|
||||||
kill $(pidof gpg-agent)
|
pkill --uid="$(id -u)" -- "gpg-agent"
|
||||||
|
|
||||||
# Delete everything link to ssh-agent or gpg-agent
|
# Delete everything link to ssh-agent or gpg-agent
|
||||||
rm --recursive --force -- ~/.keychain/*
|
rm --recursive --force -- ~/.keychain/*
|
||||||
|
|
||||||
# git-credential sockets
|
# git-credential sockets
|
||||||
killall git-credential-cache--daemon
|
pkill --uid="$(id -u)" --full -- "git-credential-cache"
|
||||||
rm --force -- ~/.git-credential-cache/*
|
rm --force -- ~/.git-credential-cache/*
|
||||||
|
|
||||||
# Keepass2 (killall keepass, both those launch with 'mono' and those launch with 'cli)
|
# Keepass2 (killall keepass, both those launch with 'mono' and those launch with 'cli)
|
||||||
pkill --full -- "keepass"
|
pkill --uid="$(id -u)" --full -- "keepass"
|
||||||
|
|
||||||
# Delete sensitive files can contains unwanted clear passwords
|
# Delete sensitive files can contains unwanted clear passwords
|
||||||
rm --force -- ~/.config/evince/print-settings ~/.config/eog/eog-print-settings.ini
|
rm --force -- ~/.config/evince/print-settings ~/.config/eog/eog-print-settings.ini
|
||||||
|
@ -47,7 +47,7 @@ find ~/.config -ipath "*GIMP*" -and -iname "print-settings" -delete
|
||||||
# Purge local user recent files
|
# Purge local user recent files
|
||||||
rm --force -- ~/.local/share/recently-used.xbel
|
rm --force -- ~/.local/share/recently-used.xbel
|
||||||
rm --force -- ~/.recently-used
|
rm --force -- ~/.recently-used
|
||||||
rm --force -- ~/.thumbnails/normal
|
rm --force --recursive -- ~/.thumbnails/normal
|
||||||
rm --force -- ~/.config/vlc/vlc-qt-interface.conf
|
rm --force -- ~/.config/vlc/vlc-qt-interface.conf
|
||||||
rm --force -- ~/.config/smplayer/smplayer.ini
|
rm --force -- ~/.config/smplayer/smplayer.ini
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue