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

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

while true; do
  cat ~/.config/waylock/config | xargs waylock && exit
done