summaryrefslogtreecommitdiff
path: root/slockd
blob: c2824b377b85efade16db1cce544567eb7e1ffc6 (plain)
1
2
3
4
5
6
7
#!/bin/sh

[ "$(pgrep -U$(whoami) -x slockd | wc -l)" -gt "2" ] && echo "true"

while true; do
  slock && exit
done