Update hyprlock.sh

This commit is contained in:
Mohammed Goder 2024-03-14 17:21:03 -05:00
parent 551cdfdd94
commit 52124b7e69

View File

@ -43,6 +43,11 @@ elif [ "$1" == "status" ]; then
fi
done
exit
elif [ "$1" == "help" ] || [ "$1" == "-h" ] || [ "$1" == "-help" ] || [ "$1" == "--help" ]; then
echo Usage:
echo -e "\thyprlock status"
echo -e "\thyprlock [monitor_id]"
exit
fi
monitor=$(echo "$monitors" | jq -c ".[$1]")