Files
dotfiles/hypr/scripts/launch_app
2025-08-13 21:46:48 +02:00

15 lines
212 B
Bash
Executable File

#!/bin/bash
if [ -z "$1" ]; then
exit 1
fi
program="$1"
if ! command -v "$program" >/dev/null 2>&1; then
notify-send "Program not found" "Make sure you have installed $program"
exit 1
else
exec $@
fi