#!/bin/sh [ "$(pgrep -U$(whoami) -x slockd | wc -l)" -gt "2" ] && echo "true" while true; do slock && exit done