#!/usr/bin/fish # configured for wayland set LOCKPROG hyprlock # check if lock program is running if ps -e | grep " $LOCKPROG\$" echo "$LOCKPROG is already running" exit 1 end ba $LOCKPROG $argv