#!/bin/sh # If $1 command is not available, error code and notify. # by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice command -v "$1" >/dev/null || { notify-send "📦 $1" "must be installed for this function." && exit 1 ;}