stdout could print an api secret "[locked]" and the calling script could act upon that.
slock | {
read
if [[ "$REPLY" = "[locked]" ]]; then
suspend
else
yell at user or power off for added security
fi
}
cheers!
mar77i
stdout could print an api secret "[locked]" and the calling script could act upon that.
slock | {
read
if [[ "$REPLY" = "[locked]" ]]; then
suspend
else
yell at user or power off for added security
fi
}
cheers!
mar77i