summaryrefslogtreecommitdiff
path: root/spncmp
blob: 9948e6fea5f04c42a930c1ce8125c84de86b8736 (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)" -w "960x540" ncmpcpp
fi