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

COUNT="$(pgrep -U "$(whoami)" -f "$(basename $0)" | wc -l)"

if [ "${COUNT:-0}" -lt "3" ]; then
  exec foot -a "$(basename $0)" profanity
fi