something like:
Code:
if pgrep labwc > /dev/null; then echo "Running labwc" elif pgrep wayfire > /dev/null; then echo "Running wayfire" elif pgrep Xorg > /dev/null; then echo "Running Xorg" fiStatistics: Posted by dom — Wed Jan 29, 2025 5:39 pm