#!/bin/bash if [ "$(pgrep -c htop)" -gt 0 ]; then pkill htop else /usr/bin/uxterm -e htop fi