veille.sh: use a 'ps' command to kill KeePass's PID.
This commit is contained in:
parent
f0e616207c
commit
e98a95d806
|
@ -20,8 +20,8 @@ rm -rf /tmp/ssh-*
|
||||||
killall gpg-agent
|
killall gpg-agent
|
||||||
# Delete everything link to ssh-agent or gpg-agent
|
# Delete everything link to ssh-agent or gpg-agent
|
||||||
rm -rf ~/.keychain/*
|
rm -rf ~/.keychain/*
|
||||||
# Kill mono (that runs KeePass!)
|
# Keepass2 (killall keepass, both those launch with 'mono' and those launch with 'cli)
|
||||||
killall mono
|
ps ax | grep -v 'awk' | awk '/keepass2/,NF=1' | xargs kill
|
||||||
# Lock the screen
|
# Lock the screen
|
||||||
#i3lock -c 000000 --pointer win -d
|
#i3lock -c 000000 --pointer win -d
|
||||||
i3lock -i /home/jegardai/Images/system/empire_needs_you.png --pointer win -d -e -t
|
i3lock -i /home/jegardai/Images/system/empire_needs_you.png --pointer win -d -e -t
|
||||||
|
|
Loading…
Reference in New Issue