purge keys when we lock
This commit is contained in:
parent
cf429f6391
commit
7b81c01ebd
13
.xsession
13
.xsession
@ -54,6 +54,19 @@ case "$wmanager" in
|
||||
-B "#FFFFEA" \
|
||||
-F "#000000" | sh &
|
||||
;;
|
||||
/usr/local/bin/xfce4-session)
|
||||
dbus-monitor --session "type='signal',interface='org.xfce.ScreenSaver'" | \
|
||||
while read x; do
|
||||
case "$x" in
|
||||
*"boolean true"*)
|
||||
echo "Locked - clearing keys"
|
||||
/usr/bin/ssh-add -D;
|
||||
/usr/local/bin/rbw lock;
|
||||
/usr/local/bin/sudo -K
|
||||
;;
|
||||
esac
|
||||
done &
|
||||
;;
|
||||
/usr/local/bin/awesome)
|
||||
xsetroot -solid black
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user