#!/bin/sh # Check if dmenu is running dunstctl close-all if pgrep "dmenu" > /dev/null; then killall dmenu; else dmenu_hub fi