veille: update condition to clean system
This commit is contained in:
parent
bb21e41b36
commit
5b0e057cb9
14
veille.sh
14
veille.sh
@ -15,20 +15,20 @@
|
||||
|
||||
## depend: i3lock
|
||||
|
||||
# SSH Connections
|
||||
killall ssh
|
||||
# SSH Agent
|
||||
killall --quiet ssh
|
||||
rm --recursive --force -- ~/.ssh/socks/*
|
||||
|
||||
# SSH Agent
|
||||
killall ssh-agent
|
||||
# SSH Agent - default path
|
||||
killall --quiet ssh-agent
|
||||
rm --recursive --force -- /tmp/ssh-*
|
||||
|
||||
# GPG Agent
|
||||
keychain --agents gpg --clear
|
||||
pkill --uid="$(id -u)" -- "gpg-agent"
|
||||
|
||||
# Delete everything link to ssh-agent or gpg-agent
|
||||
rm --recursive --force -- ~/.keychain/*
|
||||
# Keychain - Delete everything link to ssh-agent or gpg-agent
|
||||
test -d ~/.keychain && rm --recursive --force -- ~/.keychain/*
|
||||
|
||||
# git-credential sockets
|
||||
pkill --uid="$(id -u)" --full -- "git-credential-cache"
|
||||
@ -56,4 +56,4 @@ sleep 3; xset dpms force off
|
||||
|
||||
# Lock the screen
|
||||
#i3lock -c 000000 --pointer win -d
|
||||
i3lock --image=/home/jegardai/Images/system/empire_needs_you.png --pointer win -d -e -t
|
||||
i3lock --image=/home/jgardais/Images/system/empire_needs_you.png --pointer win -d -e -t
|
||||
|
Loading…
Reference in New Issue
Block a user